#F2EE96#F2EE96

#F2EE96 is a very light, moderate yellow. Relative luminance 0.822; OKLCH L 93.3% C 0.110 H 106.1°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#F2EE96
RGBrgb(242, 238, 150)
HSLhsl(57, 78%, 77%)
HSVhsv(57, 38%, 95%)
CMYKcmyk(0%, 1.7%, 38%, 5.1%)
CIE-LABlab(92.68, -11.17, 43.08)
CIE-LCHlch(92.68, 44.50, 104.54°)
OKLaboklab(93.3% -0.0304 0.1053)
OKLCHoklch(93.3% 0.11 106.1)
XYZxyz(72.6986, 82.2299, 40.8906)
Luminance0.8223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE96 #969AF2
analogous
#F2C096 #F2EE96 #C8F296
triadic
#F2EE96 #96F2EE #EE96F2
tetradic
#F2EE96 #96F2C0 #969AF2 #F296C8
square
#F2EE96 #96F2C0 #969AF2 #F296C8
split-complementary
#F2EE96 #96C8F2 #C096F2
monochromatic
#E5DC29 #EBE560 #F2EE96 #F9F7CC #FCFBE4

Accessibility & contrast

On white

1.20
#F2EE96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.45
#F2EE96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE96
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE96#FFFFFF#000000##000000
##F2EE961.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE88F
Deuteranopia (green-blind)
#FEEC9A
Tritanopia (blue-blind)
#FEE3D8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ee96;
/* rgb */ color: rgb(242, 238, 150);
/* oklch */ color: oklch(93.3% 0.110 106.1);
Tailwind
colors: {
  custom: {
    50: '#f7f3b6',
    500: '#f2ee96',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee96;
$custom-light: #f7f3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee96",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 150
  },
  "hsl": {
    "h": 57.391,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.93296,
    "c": 0.10958,
    "h": 106.1
  },
  "luminance": 0.82228
}

Semantic roles & 50–950 ramp

primary
#F2EE96
secondary
#5D62CF
accent
#14DA0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2EE96

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

Preview Lab → · Contrast checker → · Palette generator →

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