#F2E577#F2E577

#F2E577 is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 91.0% C 0.132 H 102.6°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#F2E577
RGBrgb(242, 229, 119)
HSLhsl(54, 83%, 71%)
HSVhsv(54, 51%, 95%)
CMYKcmyk(0%, 5.4%, 50.8%, 5.1%)
CIE-LABlab(89.98, -9.67, 54.65)
CIE-LCHlch(89.98, 55.50, 100.03°)
OKLaboklab(91.02% -0.0288 0.1291)
OKLCHoklch(91.02% 0.132 102.6)
XYZxyz(67.9690, 76.2500, 28.5866)
Luminance0.7625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E577 #7784F2
analogous
#F2A877 #F2E577 #C1F277
triadic
#F2E577 #77F2E5 #E577F2
tetradic
#F2E577 #77F2A8 #7784F2 #F277C1
square
#F2E577 #77F2A8 #7784F2 #F277C1
split-complementary
#F2E577 #77C1F2 #A877F2
monochromatic
#DAC515 #EDDA3F #F2E577 #F7F0AF #FCFAE3

Accessibility & contrast

On white

1.29
#F2E577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.25
#F2E577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E577
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E577#FFFFFF#000000##000000
##F2E5771.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF6D
Deuteranopia (green-blind)
#FAE57C
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e577;
/* rgb */ color: rgb(242, 229, 119);
/* oklch */ color: oklch(91.0% 0.132 102.6);
Tailwind
colors: {
  custom: {
    50: '#f9eda1',
    500: '#f2e577',
    950: '#000000',
  },
}
SCSS
$custom: #f2e577;
$custom-light: #f9eda1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e577",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 119
  },
  "hsl": {
    "h": 53.659,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91024,
    "c": 0.13226,
    "h": 102.6
  },
  "luminance": 0.76248
}

Semantic roles & 50–950 ramp

primary
#F2E577
secondary
#4150CC
accent
#1DDF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E577

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#F2E577 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva