#F2EDAA#F2EDAA

#F2EDAA is a very light, moderate yellow. Relative luminance 0.823; OKLCH L 93.4% C 0.086 H 104.3°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#F2EDAA
RGBrgb(242, 237, 170)
HSLhsl(56, 73%, 81%)
HSVhsv(56, 30%, 95%)
CMYKcmyk(0%, 2.1%, 29.8%, 5.1%)
CIE-LABlab(92.73, -8.36, 33.15)
CIE-LCHlch(92.73, 34.19, 104.15°)
OKLaboklab(93.44% -0.0212 0.0829)
OKLCHoklch(93.44% 0.086 104.3)
XYZxyz(74.1583, 82.3493, 50.0109)
Luminance0.8235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EDAA #AAAFF2
analogous
#F2C9AA #F2EDAA #D3F2AA
triadic
#F2EDAA #AAF2ED #EDAAF2
tetradic
#F2EDAA #AAF2C9 #AAAFF2 #F2AAD3
square
#F2EDAA #AAF2C9 #AAAFF2 #F2AAD3
split-complementary
#F2EDAA #AAD3F2 #C9AAF2
monochromatic
#E2D740 #EAE275 #F2EDAA #FAF8DF #FBF9E4

Accessibility & contrast

On white

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

On black

17.47
#F2EDAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EDAA
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EDAA#FFFFFF#000000##000000
##F2EDAA1.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E8A5
Deuteranopia (green-blind)
#FBECAD
Tritanopia (blue-blind)
#FDE4DB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2edaa;
/* rgb */ color: rgb(242, 237, 170);
/* oklch */ color: oklch(93.4% 0.086 104.3);
Tailwind
colors: {
  custom: {
    50: '#f7f2c3',
    500: '#f2edaa',
    950: '#000000',
  },
}
SCSS
$custom: #f2edaa;
$custom-light: #f7f2c3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2edaa",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 170
  },
  "hsl": {
    "h": 55.833,
    "s": 73.469,
    "l": 80.784
  },
  "oklch": {
    "l": 0.93438,
    "c": 0.08553,
    "h": 104.3
  },
  "luminance": 0.82348
}

Semantic roles & 50–950 ramp

primary
#F2EDAA
secondary
#6F76D1
accent
#1ED610
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171712
muted
#858582

Preview Lab

Preview with #F2EDAA

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

Preview Lab → · Contrast checker → · Palette generator →

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