#E8CD5C#E8CD5C

#E8CD5C is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 85.0% C 0.135 H 95.9°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#E8CD5C
RGBrgb(232, 205, 92)
HSLhsl(48, 75%, 64%)
HSVhsv(48, 60%, 91%)
CMYKcmyk(0%, 11.6%, 60.3%, 9%)
CIE-LABlab(82.70, -3.66, 58.39)
CIE-LCHlch(82.70, 58.51, 93.59°)
OKLaboklab(84.96% -0.014 0.1344)
OKLCHoklch(84.96% 0.135 95.9)
XYZxyz(57.0442, 61.5939, 19.0072)
Luminance0.6159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CD5C #5C77E8
analogous
#E8875C #E8CD5C #BDE85C
triadic
#E8CD5C #5CE8CD #CD5CE8
tetradic
#E8CD5C #5CE887 #5C77E8 #E85CBD
square
#E8CD5C #5CE887 #5C77E8 #E85CBD
split-complementary
#E8CD5C #5CBDE8 #875CE8
monochromatic
#B19319 #E0BD26 #E8CD5C #F0DD92 #F7EEC7

Accessibility & contrast

On white

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

On black

13.32
#E8CD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CD5C
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CD5C#FFFFFF#000000##000000
##E8CD5C1.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8cd5c;
/* rgb */ color: rgb(232, 205, 92);
/* oklch */ color: oklch(85.0% 0.135 95.9);
Tailwind
colors: {
  custom: {
    50: '#f2dc8e',
    500: '#e8cd5c',
    950: '#000000',
  },
}
SCSS
$custom: #e8cd5c;
$custom-light: #f2dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cd5c",
  "rgb": {
    "r": 232,
    "g": 205,
    "b": 92
  },
  "hsl": {
    "h": 48.429,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84963,
    "c": 0.13514,
    "h": 95.9
  },
  "luminance": 0.61591
}

Semantic roles & 50–950 ramp

primary
#E8CD5C
secondary
#374FB1
accent
#35D70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8CD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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