#F2E578#F2E578

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

Color values

HEX#F2E578
RGBrgb(242, 229, 120)
HSLhsl(54, 82%, 71%)
HSVhsv(54, 50%, 95%)
CMYKcmyk(0%, 5.4%, 50.4%, 5.1%)
CIE-LABlab(89.99, -9.58, 54.20)
CIE-LCHlch(89.99, 55.04, 100.03°)
OKLaboklab(91.04% -0.0285 0.1282)
OKLCHoklch(91.04% 0.131 102.5)
XYZxyz(68.0294, 76.2742, 28.9045)
Luminance0.7627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E578 #7885F2
analogous
#F2A878 #F2E578 #C2F278
triadic
#F2E578 #78F2E5 #E578F2
tetradic
#F2E578 #78F2A8 #7885F2 #F278C2
square
#F2E578 #78F2A8 #7885F2 #F278C2
split-complementary
#F2E578 #78C2F2 #A878F2
monochromatic
#DBC615 #EDDA40 #F2E578 #F7F0B0 #FCFAE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E578#FFFFFF#000000##000000
##F2E5781.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)
#F6DF6E
Deuteranopia (green-blind)
#FAE57D
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e578;
/* rgb */ color: rgb(242, 229, 120);
/* oklch */ color: oklch(91.0% 0.131 102.5);
Tailwind
colors: {
  custom: {
    50: '#f8eda1',
    500: '#f2e578',
    950: '#000000',
  },
}
SCSS
$custom: #f2e578;
$custom-light: #f8eda1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e578",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 120
  },
  "hsl": {
    "h": 53.607,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91037,
    "c": 0.13131,
    "h": 102.5
  },
  "luminance": 0.76272
}

Semantic roles & 50–950 ramp

primary
#F2E578
secondary
#4251CC
accent
#1EDF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E578

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

Preview Lab → · Contrast checker → · Palette generator →

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