#F2EEAB#F2EEAB

#F2EEAB is a very light, moderate yellow. Relative luminance 0.830; OKLCH L 93.7% C 0.085 H 105.0°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#F2EEAB
RGBrgb(242, 238, 171)
HSLhsl(57, 73%, 81%)
HSVhsv(57, 29%, 95%)
CMYKcmyk(0%, 1.7%, 29.3%, 5.1%)
CIE-LABlab(93.00, -8.73, 33.01)
CIE-LCHlch(93.00, 34.14, 104.81°)
OKLaboklab(93.66% -0.0222 0.0826)
OKLCHoklch(93.66% 0.085 105)
XYZxyz(74.5436, 82.9680, 50.6077)
Luminance0.8297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EEAB #ABAFF2
analogous
#F2CAAB #F2EEAB #D2F2AB
triadic
#F2EEAB #ABF2EE #EEABF2
tetradic
#F2EEAB #ABF2CA #ABAFF2 #F2ABD2
square
#F2EEAB #ABF2CA #ABAFF2 #F2ABD2
split-complementary
#F2EEAB #ABD2F2 #CAABF2
monochromatic
#E2D941 #EAE376 #F2EEAB #FAF9E0 #FBFAE5

Accessibility & contrast

On white

1.19
#F2EEAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.59
#F2EEAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EEAB
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EEAB#FFFFFF#000000##000000
##F2EEAB1.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE9A6
Deuteranopia (green-blind)
#FCEDAE
Tritanopia (blue-blind)
#FCE5DC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2eeab;
/* rgb */ color: rgb(242, 238, 171);
/* oklch */ color: oklch(93.7% 0.085 105.0);
Tailwind
colors: {
  custom: {
    50: '#f7f3c4',
    500: '#f2eeab',
    950: '#000000',
  },
}
SCSS
$custom: #f2eeab;
$custom-light: #f7f3c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eeab",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 171
  },
  "hsl": {
    "h": 56.62,
    "s": 73.196,
    "l": 80.98
  },
  "oklch": {
    "l": 0.93659,
    "c": 0.08549,
    "h": 105
  },
  "luminance": 0.82967
}

Semantic roles & 50–950 ramp

primary
#F2EEAB
secondary
#7076D1
accent
#1BD510
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171712
muted
#858582

Preview Lab

Preview with #F2EEAB

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

Preview Lab → · Contrast checker → · Palette generator →

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