#F2EF76#F2EF76

#F2EF76 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 93.1% C 0.143 H 107.6°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#F2EF76
RGBrgb(242, 239, 118)
HSLhsl(59, 83%, 71%)
HSVhsv(59, 51%, 95%)
CMYKcmyk(0%, 1.2%, 51.2%, 5.1%)
CIE-LABlab(92.54, -14.69, 58.13)
CIE-LCHlch(92.54, 59.96, 104.18°)
OKLaboklab(93.06% -0.0433 0.1366)
OKLCHoklch(93.06% 0.143 107.6)
XYZxyz(70.7563, 81.9201, 29.2210)
Luminance0.8192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF76 #7679F2
analogous
#F2B176 #F2EF76 #B7F276
triadic
#F2EF76 #76F2EF #EF76F2
tetradic
#F2EF76 #76F2B1 #7679F2 #F276B7
square
#F2EF76 #76F2B1 #7679F2 #F276B7
split-complementary
#F2EF76 #76B7F2 #B176F2
monochromatic
#D9D415 #EDE83E #F2EF76 #F7F6AE #FCFCE3

Accessibility & contrast

On white

1.21
#F2EF76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.38
#F2EF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF76
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF76#FFFFFF#000000##000000
##F2EF761.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76B
Deuteranopia (green-blind)
#FFEC7C
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ef76;
/* rgb */ color: rgb(242, 239, 118);
/* oklch */ color: oklch(93.1% 0.143 107.6);
Tailwind
colors: {
  custom: {
    50: '#f9f4a1',
    500: '#f2ef76',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef76;
$custom-light: #f9f4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef76",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 118
  },
  "hsl": {
    "h": 58.548,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93059,
    "c": 0.14326,
    "h": 107.6
  },
  "luminance": 0.81918
}

Semantic roles & 50–950 ramp

primary
#F2EF76
secondary
#4044CC
accent
#0CDF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2EF76

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

Preview Lab → · Contrast checker → · Palette generator →

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