#E8DD5F#E8DD5F

#E8DD5F is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.3% C 0.146 H 104.3°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#E8DD5F
RGBrgb(232, 221, 95)
HSLhsl(55, 75%, 64%)
HSVhsv(55, 59%, 91%)
CMYKcmyk(0%, 4.7%, 59.1%, 9%)
CIE-LABlab(86.85, -11.55, 61.67)
CIE-LCHlch(86.85, 62.74, 100.60°)
OKLaboklab(88.26% -0.0362 0.1418)
OKLCHoklch(88.26% 0.146 104.3)
XYZxyz(61.2028, 69.6971, 21.0532)
Luminance0.6969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DD5F #5F6AE8
analogous
#E8985F #E8DD5F #AFE85F
triadic
#E8DD5F #5FE8DD #DD5FE8
tetradic
#E8DD5F #5FE898 #5F6AE8 #E85FAF
square
#E8DD5F #5FE898 #5F6AE8 #E85FAF
split-complementary
#E8DD5F #5FAFE8 #985FE8
monochromatic
#B3A71A #E0D229 #E8DD5F #F0E895 #F7F4CA

Accessibility & contrast

On white

1.41
#E8DD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#E8DD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DD5F
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DD5F#FFFFFF#000000##000000
##E8DD5F1.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD651
Deuteranopia (green-blind)
#F3DC66
Tritanopia (blue-blind)
#F8CFC2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e8dd5f;
/* rgb */ color: rgb(232, 221, 95);
/* oklch */ color: oklch(88.3% 0.146 104.3);
Tailwind
colors: {
  custom: {
    50: '#f2e791',
    500: '#e8dd5f',
    950: '#000000',
  },
}
SCSS
$custom: #e8dd5f;
$custom-light: #f2e791;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dd5f",
  "rgb": {
    "r": 232,
    "g": 221,
    "b": 95
  },
  "hsl": {
    "h": 55.182,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88264,
    "c": 0.14636,
    "h": 104.3
  },
  "luminance": 0.69695
}

Semantic roles & 50–950 ramp

primary
#E8DD5F
secondary
#3842B3
accent
#1FD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E8DD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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