#E8D072#E8D072

#E8D072 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.8% C 0.118 H 95.4°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#E8D072
RGBrgb(232, 208, 114)
HSLhsl(48, 72%, 68%)
HSVhsv(48, 51%, 91%)
CMYKcmyk(0%, 10.3%, 50.9%, 9%)
CIE-LABlab(83.70, -3.51, 49.31)
CIE-LCHlch(83.70, 49.44, 94.07°)
OKLaboklab(85.83% -0.011 0.1171)
OKLCHoklch(85.83% 0.118 95.4)
XYZxyz(58.8738, 63.4849, 25.0690)
Luminance0.6348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D072 #728AE8
analogous
#E89572 #E8D072 #C5E872
triadic
#E8D072 #72E8D0 #D072E8
tetradic
#E8D072 #72E895 #728AE8 #E872C5
square
#E8D072 #72E895 #728AE8 #E872C5
split-complementary
#E8D072 #72C5E8 #9572E8
monochromatic
#C0A01F #DFBE3D #E8D072 #F1E2A7 #F9F3DB

Accessibility & contrast

On white

1.53
#E8D072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#E8D072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D072
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D072#FFFFFF#000000##000000
##E8D0721.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC6A
Deuteranopia (green-blind)
#E7D476
Tritanopia (blue-blind)
#F8C3BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e8d072;
/* rgb */ color: rgb(232, 208, 114);
/* oklch */ color: oklch(85.8% 0.118 95.4);
Tailwind
colors: {
  custom: {
    50: '#f1de9c',
    500: '#e8d072',
    950: '#000000',
  },
}
SCSS
$custom: #e8d072;
$custom-light: #f1de9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d072",
  "rgb": {
    "r": 232,
    "g": 208,
    "b": 114
  },
  "hsl": {
    "h": 47.797,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85829,
    "c": 0.11762,
    "h": 95.4
  },
  "luminance": 0.63482
}

Semantic roles & 50–950 ramp

primary
#E8D072
secondary
#3F59BF
accent
#39D411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D072

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

Preview Lab → · Contrast checker → · Palette generator →

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