#E8DC8A#E8DC8A

#E8DC8A is a very light, moderate yellow. Relative luminance 0.702; OKLCH L 88.6% C 0.104 H 101.0°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#E8DC8A
RGBrgb(232, 220, 138)
HSLhsl(52, 67%, 73%)
HSVhsv(52, 41%, 91%)
CMYKcmyk(0%, 5.2%, 40.5%, 9%)
CIE-LABlab(87.08, -7.32, 41.72)
CIE-LCHlch(87.08, 42.36, 99.95°)
OKLaboklab(88.61% -0.0198 0.1017)
OKLCHoklch(88.61% 0.104 101)
XYZxyz(63.4606, 70.1790, 34.2428)
Luminance0.7018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DC8A #8A96E8
analogous
#E8AD8A #E8DC8A #C5E88A
triadic
#E8DC8A #8AE8DC #DC8AE8
tetradic
#E8DC8A #8AE8AD #8A96E8 #E88AC5
square
#E8DC8A #8AE8AD #8A96E8 #E88AC5
split-complementary
#E8DC8A #8AC5E8 #AD8AE8
monochromatic
#CFBA29 #DECD57 #E8DC8A #F2EBBD #FAF7E5

Accessibility & contrast

On white

1.40
#E8DC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#E8DC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DC8A
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DC8A#FFFFFF#000000##000000
##E8DC8A1.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD784
Deuteranopia (green-blind)
#EEDD8D
Tritanopia (blue-blind)
#F5D1C8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e8dc8a;
/* rgb */ color: rgb(232, 220, 138);
/* oklch */ color: oklch(88.6% 0.104 101.0);
Tailwind
colors: {
  custom: {
    50: '#f1e6ad',
    500: '#e8dc8a',
    950: '#000000',
  },
}
SCSS
$custom: #e8dc8a;
$custom-light: #f1e6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dc8a",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 138
  },
  "hsl": {
    "h": 52.34,
    "s": 67.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.88612,
    "c": 0.10362,
    "h": 101
  },
  "luminance": 0.70177
}

Semantic roles & 50–950 ramp

primary
#E8DC8A
secondary
#5563C2
accent
#2ECF16
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E8DC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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