#F2EFAC#F2EFAC

#F2EFAC is a very light, moderate yellow. Relative luminance 0.836; OKLCH L 93.9% C 0.085 H 105.8°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#F2EFAC
RGBrgb(242, 239, 172)
HSLhsl(57, 73%, 81%)
HSVhsv(57, 29%, 95%)
CMYKcmyk(0%, 1.2%, 28.9%, 5.1%)
CIE-LABlab(93.27, -9.10, 32.87)
CIE-LCHlch(93.27, 34.10, 105.48°)
OKLaboklab(93.88% -0.0232 0.0822)
OKLCHoklch(93.88% 0.085 105.8)
XYZxyz(74.9312, 83.5901, 51.2089)
Luminance0.8359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EFAC #ACAFF2
analogous
#F2CCAC #F2EFAC #D2F2AC
triadic
#F2EFAC #ACF2EF #EFACF2
tetradic
#F2EFAC #ACF2CC #ACAFF2 #F2ACD2
square
#F2EFAC #ACF2CC #ACAFF2 #F2ACD2
split-complementary
#F2EFAC #ACD2F2 #CCACF2
monochromatic
#E1DB42 #EAE577 #F2EFAC #FAF9E1 #FBFAE5

Accessibility & contrast

On white

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

On black

17.72
#F2EFAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EFAC
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EFAC#FFFFFF#000000##000000
##F2EFAC1.001.1917.7217.72
#FFFFFF1.191.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAEAA8
Deuteranopia (green-blind)
#FCEDAF
Tritanopia (blue-blind)
#FCE6DD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2efac;
/* rgb */ color: rgb(242, 239, 172);
/* oklch */ color: oklch(93.9% 0.085 105.8);
Tailwind
colors: {
  custom: {
    50: '#f7f4c5',
    500: '#f2efac',
    950: '#000000',
  },
}
SCSS
$custom: #f2efac;
$custom-light: #f7f4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2efac",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 172
  },
  "hsl": {
    "h": 57.429,
    "s": 72.917,
    "l": 81.176
  },
  "oklch": {
    "l": 0.93879,
    "c": 0.08546,
    "h": 105.8
  },
  "luminance": 0.83589
}

Semantic roles & 50–950 ramp

primary
#F2EFAC
secondary
#7175D1
accent
#19D510
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171713
muted
#858582

Preview Lab

Preview with #F2EFAC

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

Preview Lab → · Contrast checker → · Palette generator →

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