#F2EDAE#F2EDAE

#F2EDAE is a very light, moderate yellow. Relative luminance 0.825; OKLCH L 93.5% C 0.081 H 104.0°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#F2EDAE
RGBrgb(242, 237, 174)
HSLhsl(56, 72%, 82%)
HSVhsv(56, 28%, 95%)
CMYKcmyk(0%, 2.1%, 28.1%, 5.1%)
CIE-LABlab(92.80, -7.85, 31.22)
CIE-LCHlch(92.80, 32.19, 104.12°)
OKLaboklab(93.51% -0.0196 0.0784)
OKLCHoklch(93.51% 0.081 104)
XYZxyz(74.5425, 82.5030, 52.0341)
Luminance0.8250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EDAE #AEB3F2
analogous
#F2CBAE #F2EDAE #D5F2AE
triadic
#F2EDAE #AEF2ED #EDAEF2
tetradic
#F2EDAE #AEF2CB #AEB3F2 #F2AED5
square
#F2EDAE #AEF2CB #AEB3F2 #F2AED5
split-complementary
#F2EDAE #AED5F2 #CBAEF2
monochromatic
#E1D645 #EAE179 #F2EDAE #FAF9E3 #FBF9E5

Accessibility & contrast

On white

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

On black

17.50
#F2EDAE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EDAE
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EDAE#FFFFFF#000000##000000
##F2EDAE1.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E8AA
Deuteranopia (green-blind)
#FAECB0
Tritanopia (blue-blind)
#FCE5DC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2edae;
/* rgb */ color: rgb(242, 237, 174);
/* oklch */ color: oklch(93.5% 0.081 104.0);
Tailwind
colors: {
  custom: {
    50: '#f7f2c6',
    500: '#f2edae',
    950: '#000000',
  },
}
SCSS
$custom: #f2edae;
$custom-light: #f7f2c6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2edae",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 174
  },
  "hsl": {
    "h": 55.588,
    "s": 72.34,
    "l": 81.569
  },
  "oklch": {
    "l": 0.93514,
    "c": 0.08076,
    "h": 104
  },
  "luminance": 0.82502
}

Semantic roles & 50–950 ramp

primary
#F2EDAE
secondary
#737AD1
accent
#1FD411
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171713
muted
#858582

Preview Lab

Preview with #F2EDAE

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

Preview Lab → · Contrast checker → · Palette generator →

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