#EED171#EED171

#EED171 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.6% C 0.120 H 92.9°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#EED171
RGBrgb(238, 209, 113)
HSLhsl(46, 79%, 69%)
HSVhsv(46, 53%, 93%)
CMYKcmyk(0%, 12.2%, 52.5%, 6.7%)
CIE-LABlab(84.47, -1.67, 50.85)
CIE-LCHlch(84.47, 50.87, 91.88°)
OKLaboklab(86.56% -0.0062 0.1203)
OKLCHoklch(86.56% 0.12 92.9)
XYZxyz(61.0433, 64.9731, 24.9453)
Luminance0.6497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EED171 #718EEE
analogous
#EE9371 #EED171 #CDEE71
triadic
#EED171 #71EED1 #D171EE
tetradic
#EED171 #71EE93 #718EEE #EE71CD
square
#EED171 #71EE93 #718EEE #EE71CD
split-complementary
#EED171 #71CDEE #9371EE
monochromatic
#CCA218 #E7BF3A #EED171 #F5E3A8 #FBF4DE

Accessibility & contrast

On white

1.50
#EED171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#EED171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EED171
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EED171#FFFFFF#000000##000000
##EED1711.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE68
Deuteranopia (green-blind)
#EAD775
Tritanopia (blue-blind)
#FEC4BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #eed171;
/* rgb */ color: rgb(238, 209, 113);
/* oklch */ color: oklch(86.6% 0.120 92.9);
Tailwind
colors: {
  custom: {
    50: '#f6de9c',
    500: '#eed171',
    950: '#000000',
  },
}
SCSS
$custom: #eed171;
$custom-light: #f6de9c;
$custom-dark: #000000;
JSON
{
  "hex": "#eed171",
  "rgb": {
    "r": 238,
    "g": 209,
    "b": 113
  },
  "hsl": {
    "h": 46.08,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86562,
    "c": 0.12045,
    "h": 92.9
  },
  "luminance": 0.6497
}

Semantic roles & 50–950 ramp

primary
#EED171
secondary
#3D5DC7
accent
#3BDB0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EED171

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

Preview Lab → · Contrast checker → · Palette generator →

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