#F2EAAF#F2EAAF

#F2EAAF is a very light, moderate yellow. Relative luminance 0.808; OKLCH L 92.9% C 0.076 H 101.2°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#F2EAAF
RGBrgb(242, 234, 175)
HSLhsl(53, 72%, 82%)
HSVhsv(53, 28%, 95%)
CMYKcmyk(0%, 3.3%, 27.7%, 5.1%)
CIE-LABlab(92.05, -6.22, 29.70)
CIE-LCHlch(92.05, 30.35, 101.83°)
OKLaboklab(92.93% -0.0149 0.0748)
OKLCHoklch(92.93% 0.076 101.2)
XYZxyz(73.7790, 80.8195, 52.2623)
Luminance0.8082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EAAF #AFB7F2
analogous
#F2C9AF #F2EAAF #D9F2AF
triadic
#F2EAAF #AFF2EA #EAAFF2
tetradic
#F2EAAF #AFF2C9 #AFB7F2 #F2AFD9
square
#F2EAAF #AFF2C9 #AFB7F2 #F2AFD9
split-complementary
#F2EAAF #AFD9F2 #C9AFF2
monochromatic
#E1CE46 #E9DC7A #F2EAAF #FBF8E4 #FBF8E5

Accessibility & contrast

On white

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

On black

17.16
#F2EAAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EAAF
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EAAF#FFFFFF#000000##000000
##F2EAAF1.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E6AB
Deuteranopia (green-blind)
#F8EAB1
Tritanopia (blue-blind)
#FCE2DA
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2eaaf;
/* rgb */ color: rgb(242, 234, 175);
/* oklch */ color: oklch(92.9% 0.076 101.2);
Tailwind
colors: {
  custom: {
    50: '#f7f0c7',
    500: '#f2eaaf',
    950: '#000000',
  },
}
SCSS
$custom: #f2eaaf;
$custom-light: #f7f0c7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eaaf",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 175
  },
  "hsl": {
    "h": 52.836,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.9293,
    "c": 0.07622,
    "h": 101.2
  },
  "luminance": 0.80818
}

Semantic roles & 50–950 ramp

primary
#F2EAAF
secondary
#747FD1
accent
#29D411
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #F2EAAF

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

Preview Lab → · Contrast checker → · Palette generator →

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