#E8CD59#E8CD59

#E8CD59 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.9% C 0.138 H 96.2°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#E8CD59
RGBrgb(232, 205, 89)
HSLhsl(49, 76%, 63%)
HSVhsv(49, 62%, 91%)
CMYKcmyk(0%, 11.6%, 61.6%, 9%)
CIE-LABlab(82.67, -3.86, 59.69)
CIE-LCHlch(82.67, 59.81, 93.70°)
OKLaboklab(84.93% -0.0149 0.1368)
OKLCHoklch(84.93% 0.138 96.2)
XYZxyz(56.9157, 61.5424, 18.3302)
Luminance0.6154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CD59 #5974E8
analogous
#E88559 #E8CD59 #BCE859
triadic
#E8CD59 #59E8CD #CD59E8
tetradic
#E8CD59 #59E885 #5974E8 #E859BC
square
#E8CD59 #59E885 #5974E8 #E859BC
split-complementary
#E8CD59 #59BCE8 #8559E8
monochromatic
#AE9218 #E1BD23 #E8CD59 #EFDD8F #F7EDC5

Accessibility & contrast

On white

1.58
#E8CD59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#E8CD59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CD59
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CD59#FFFFFF#000000##000000
##E8CD591.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94C
Deuteranopia (green-blind)
#E7D25F
Tritanopia (blue-blind)
#F9BFB4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e8cd59;
/* rgb */ color: rgb(232, 205, 89);
/* oklch */ color: oklch(84.9% 0.138 96.2);
Tailwind
colors: {
  custom: {
    50: '#f3db8c',
    500: '#e8cd59',
    950: '#000000',
  },
}
SCSS
$custom: #e8cd59;
$custom-light: #f3db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cd59",
  "rgb": {
    "r": 232,
    "g": 205,
    "b": 89
  },
  "hsl": {
    "h": 48.671,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84932,
    "c": 0.1376,
    "h": 96.2
  },
  "luminance": 0.6154
}

Semantic roles & 50–950 ramp

primary
#E8CD59
secondary
#364DAF
accent
#34D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8CD59

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

Preview Lab → · Contrast checker → · Palette generator →

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