#EED871#EED871

#EED871 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 88.0% C 0.126 H 97.5°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#EED871
RGBrgb(238, 216, 113)
HSLhsl(49, 79%, 69%)
HSVhsv(49, 53%, 93%)
CMYKcmyk(0%, 9.2%, 52.5%, 6.7%)
CIE-LABlab(86.25, -5.24, 52.96)
CIE-LCHlch(86.25, 53.22, 95.65°)
OKLaboklab(87.97% -0.0165 0.1249)
OKLCHoklch(87.97% 0.126 97.5)
XYZxyz(62.7985, 68.4837, 25.5304)
Luminance0.6848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EED871 #7187EE
analogous
#EE9A71 #EED871 #C6EE71
triadic
#EED871 #71EED8 #D871EE
tetradic
#EED871 #71EE9A #7187EE #EE71C6
square
#EED871 #71EE9A #7187EE #EE71C6
split-complementary
#EED871 #71C6EE #9A71EE
monochromatic
#CCAD18 #E7C93A #EED871 #F5E7A8 #FBF6DE

Accessibility & contrast

On white

1.43
#EED871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#EED871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EED871
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EED871#FFFFFF#000000##000000
##EED8711.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD368
Deuteranopia (green-blind)
#F0DB75
Tritanopia (blue-blind)
#FECBC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #eed871;
/* rgb */ color: rgb(238, 216, 113);
/* oklch */ color: oklch(88.0% 0.126 97.5);
Tailwind
colors: {
  custom: {
    50: '#f6e39c',
    500: '#eed871',
    950: '#000000',
  },
}
SCSS
$custom: #eed871;
$custom-light: #f6e39c;
$custom-dark: #000000;
JSON
{
  "hex": "#eed871",
  "rgb": {
    "r": 238,
    "g": 216,
    "b": 113
  },
  "hsl": {
    "h": 49.44,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.87967,
    "c": 0.12599,
    "h": 97.5
  },
  "luminance": 0.68481
}

Semantic roles & 50–950 ramp

primary
#EED871
secondary
#3D55C7
accent
#2FDB0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EED871

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

Preview Lab → · Contrast checker → · Palette generator →

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