HSL(62, 72%, 82%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(62,72%,82%)]

Color Conversions

Format Value CSS Usage
HSL hsl(62, 72%, 82%) color: hsl(62, 72%, 82%)
HEX #F0F2B0 color: #F0F2B0
RGB rgb(240, 242, 176) color: rgb(240, 242, 176)
CMYK cmyk(1%, 0%, 27%, 5%)
HSV hsv(62, 27%, 95%)
HWB hwb(62 69% 5%) color: hwb(62 69% 5%)
OKLCH oklch(0.944 0.0844 109.37) color: oklch(0.944 0.0844 109.37)
Lab lab(93.95 -10.83 31.73) color: lab(93.95 -10.83 31.73)
LCH lch(93.95 33.53 108.85) color: lch(93.95 33.53 108.85)

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.16:1
vs Black 18.03: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)

#F1F1C0 — rgb(241, 241, 192)

Deuteranopia (Green-blind)

#F1F1C4 — rgb(241, 241, 196)

Tritanopia (Blue-blind)

#F0CDCF — rgb(240, 205, 207)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(62, 72%, 82%);

text

color: hsl(62, 72%, 82%);

border

border: 2px solid hsl(62, 72%, 82%);

gradient light

background: linear-gradient(to right, hsl(62, 72%, 100%), hsl(62, 72%, 82%));

gradient dark

background: linear-gradient(to right, hsl(62, 72%, 82%), hsl(62, 72%, 62%))

hex

background-color: #F0F2B0;

tailwind

bg-[hsl(62,72%,82%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(62, 72%, 82%, 0.4);

css variable

--color-primary: hsl(62, 72%, 82%);

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(62, 72%, 82%)?

HEX: #F0F2B0 | RGB: rgb(240, 242, 176) | CMYK: 1%, 0%, 27%, 5% | HSV: 62°, 27%, 95%. Copy any format from the conversion table above.

What colors go well with #F0F2B0?

The complementary color is HSL(242, 72%, 82%). For a triadic harmony, use hues 62°, 182°, and 302°. For analogous combinations, try hues 32° and 92°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(62, 72%, 82%) in CSS?

As HSL: color: hsl(62, 72%, 82%); — As HEX: color: #F0F2B0; — As RGB: color: rgb(240, 242, 176); — Tailwind CSS: bg-[hsl(62,72%,82%)] — CSS variable: --color-primary: hsl(62, 72%, 82%);