#F2E576#F2E576

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

Color values

HEX#F2E576
RGBrgb(242, 229, 118)
HSLhsl(54, 83%, 71%)
HSVhsv(54, 51%, 95%)
CMYKcmyk(0%, 5.4%, 51.2%, 5.1%)
CIE-LABlab(89.96, -9.75, 55.10)
CIE-LCHlch(89.96, 55.96, 100.03°)
OKLaboklab(91.01% -0.0292 0.13)
OKLCHoklch(91.01% 0.133 102.6)
XYZxyz(67.9093, 76.2261, 28.2720)
Luminance0.7622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E576 #7683F2
analogous
#F2A776 #F2E576 #C1F276
triadic
#F2E576 #76F2E5 #E576F2
tetradic
#F2E576 #76F2A7 #7683F2 #F276C1
square
#F2E576 #76F2A7 #7683F2 #F276C1
split-complementary
#F2E576 #76C1F2 #A776F2
monochromatic
#D9C415 #EDDA3E #F2E576 #F7F0AE #FCFAE3

Accessibility & contrast

On white

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

On black

16.24
#F2E576 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E576
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E576#FFFFFF#000000##000000
##F2E5761.001.2916.2416.24
#FFFFFF1.291.0021.0021.00
#00000016.2421.001.001.00
##00000016.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e576;
/* rgb */ color: rgb(242, 229, 118);
/* oklch */ color: oklch(91.0% 0.133 102.6);
Tailwind
colors: {
  custom: {
    50: '#f9eda0',
    500: '#f2e576',
    950: '#000000',
  },
}
SCSS
$custom: #f2e576;
$custom-light: #f9eda0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e576",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 118
  },
  "hsl": {
    "h": 53.71,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91012,
    "c": 0.1332,
    "h": 102.6
  },
  "luminance": 0.76224
}

Semantic roles & 50–950 ramp

primary
#F2E576
secondary
#404FCC
accent
#1DDF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E576

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

Preview Lab → · Contrast checker → · Palette generator →

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