HSL(61, 92%, 81%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(61,92%,81%)]

Color Conversions

Format Value CSS Usage
HSL hsl(61, 92%, 81%) color: hsl(61, 92%, 81%)
HEX #FAFBA2 color: #FAFBA2
RGB rgb(250, 251, 162) color: rgb(250, 251, 162)
CMYK cmyk(0%, 0%, 35%, 2%)
HSV hsv(61, 35%, 98%)
HWB hwb(61 64% 2%) color: hwb(61 64% 2%)
OKLCH oklch(0.9677 0.1106 108.85) color: oklch(0.9677 0.1106 108.85)
Lab lab(96.79 -13.21 42.59) color: lab(96.79 -13.21 42.59)
LCH lch(96.79 44.59 107.23) color: lch(96.79 44.59 107.23)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 1.08:1
vs Black 19.39:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#FAFAB8 — rgb(250, 250, 184)

Deuteranopia (Green-blind)

#FAFABD — rgb(250, 250, 189)

Tritanopia (Blue-blind)

#FAC9CC — rgb(250, 201, 204)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(61, 92%, 81%);

text

color: hsl(61, 92%, 81%);

border

border: 2px solid hsl(61, 92%, 81%);

gradient light

background: linear-gradient(to right, hsl(61, 92%, 100%), hsl(61, 92%, 81%));

gradient dark

background: linear-gradient(to right, hsl(61, 92%, 81%), hsl(61, 92%, 61%))

hex

background-color: #FAFBA2;

tailwind

bg-[hsl(61,92%,81%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(61, 92%, 81%, 0.4);

css variable

--color-primary: hsl(61, 92%, 81%);

Related Colors

Use Cases for Yellow

Warnings Highlights Attention indicators Optimistic brands Note/sticky elements

Frequently Asked Questions

What are all the color codes for HSL(61, 92%, 81%)?

HEX: #FAFBA2 | RGB: rgb(250, 251, 162) | CMYK: 0%, 0%, 35%, 2% | HSV: 61°, 35%, 98%. Copy any format from the conversion table above.

What colors go well with #FAFBA2?

The complementary color is HSL(241, 92%, 81%). For a triadic harmony, use hues 61°, 181°, and 301°. For analogous combinations, try hues 31° and 91°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(61, 92%, 81%) in CSS?

As HSL: color: hsl(61, 92%, 81%); — As HEX: color: #FAFBA2; — As RGB: color: rgb(250, 251, 162); — Tailwind CSS: bg-[hsl(61,92%,81%)] — CSS variable: --color-primary: hsl(61, 92%, 81%);