#F2EE76#F2EE76

#F2EE76 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.9% C 0.142 H 107.1°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#F2EE76
RGBrgb(242, 238, 118)
HSLhsl(58, 83%, 71%)
HSVhsv(58, 51%, 95%)
CMYKcmyk(0%, 1.7%, 51.2%, 5.1%)
CIE-LABlab(92.28, -14.20, 57.83)
CIE-LCHlch(92.28, 59.55, 103.80°)
OKLaboklab(92.85% -0.0419 0.1359)
OKLCHoklch(92.85% 0.142 107.1)
XYZxyz(70.4643, 81.3363, 29.1236)
Luminance0.8133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE76 #767AF2
analogous
#F2B076 #F2EE76 #B8F276
triadic
#F2EE76 #76F2EE #EE76F2
tetradic
#F2EE76 #76F2B0 #767AF2 #F276B8
square
#F2EE76 #76F2B0 #767AF2 #F276B8
split-complementary
#F2EE76 #76B8F2 #B076F2
monochromatic
#D9D315 #EDE73E #F2EE76 #F7F5AE #FCFCE3

Accessibility & contrast

On white

1.22
#F2EE76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.27
#F2EE76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE76
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE76#FFFFFF#000000##000000
##F2EE761.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE66B
Deuteranopia (green-blind)
#FFEB7C
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ee76;
/* rgb */ color: rgb(242, 238, 118);
/* oklch */ color: oklch(92.9% 0.142 107.1);
Tailwind
colors: {
  custom: {
    50: '#f9f3a0',
    500: '#f2ee76',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee76;
$custom-light: #f9f3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee76",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 118
  },
  "hsl": {
    "h": 58.065,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92853,
    "c": 0.14222,
    "h": 107.1
  },
  "luminance": 0.81334
}

Semantic roles & 50–950 ramp

primary
#F2EE76
secondary
#4045CC
accent
#0DDF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2EE76

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

Preview Lab → · Contrast checker → · Palette generator →

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