#F2EFAF#F2EFAF

#F2EFAF is a very light, moderate yellow. Relative luminance 0.837; OKLCH L 93.9% C 0.082 H 105.6°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#F2EFAF
RGBrgb(242, 239, 175)
HSLhsl(57, 72%, 82%)
HSVhsv(57, 28%, 95%)
CMYKcmyk(0%, 1.2%, 27.7%, 5.1%)
CIE-LABlab(93.32, -8.73, 31.42)
CIE-LCHlch(93.32, 32.60, 105.52°)
OKLaboklab(93.94% -0.022 0.0789)
OKLCHoklch(93.94% 0.082 105.6)
XYZxyz(75.2226, 83.7067, 52.7435)
Luminance0.8370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EFAF #AFB2F2
analogous
#F2CEAF #F2EFAF #D4F2AF
triadic
#F2EFAF #AFF2EF #EFAFF2
tetradic
#F2EFAF #AFF2CE #AFB2F2 #F2AFD4
square
#F2EFAF #AFF2CE #AFB2F2 #F2AFD4
split-complementary
#F2EFAF #AFD4F2 #CEAFF2
monochromatic
#E1DA46 #E9E47A #F2EFAF #FBFAE4 #FBFAE5

Accessibility & contrast

On white

1.18
#F2EFAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.74
#F2EFAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EFAF
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EFAF#FFFFFF#000000##000000
##F2EFAF1.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAEAAB
Deuteranopia (green-blind)
#FCEDB1
Tritanopia (blue-blind)
#FCE7DE
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2efaf;
/* rgb */ color: rgb(242, 239, 175);
/* oklch */ color: oklch(93.9% 0.082 105.6);
Tailwind
colors: {
  custom: {
    50: '#f7f4c7',
    500: '#f2efaf',
    950: '#000000',
  },
}
SCSS
$custom: #f2efaf;
$custom-light: #f7f4c7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2efaf",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 175
  },
  "hsl": {
    "h": 57.313,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.93936,
    "c": 0.08187,
    "h": 105.6
  },
  "luminance": 0.83705
}

Semantic roles & 50–950 ramp

primary
#F2EFAF
secondary
#7478D1
accent
#1AD411
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171713
muted
#858582

Preview Lab

Preview with #F2EFAF

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

Preview Lab → · Contrast checker → · Palette generator →

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