#E2D08C#E2D08C

#E2D08C is a very light, moderate yellow. Relative luminance 0.632; OKLCH L 85.7% C 0.089 H 95.1°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#E2D08C
RGBrgb(226, 208, 140)
HSLhsl(47, 60%, 72%)
HSVhsv(47, 38%, 89%)
CMYKcmyk(0%, 8%, 38.1%, 11.4%)
CIE-LABlab(83.53, -3.34, 36.04)
CIE-LCHlch(83.53, 36.20, 95.30°)
OKLaboklab(85.69% -0.0079 0.0888)
OKLCHoklch(85.69% 0.089 95.1)
XYZxyz(58.6547, 63.1758, 33.9103)
Luminance0.6317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D08C #8C9EE2
analogous
#E2A58C #E2D08C #C9E28C
triadic
#E2D08C #8CE2D0 #D08CE2
tetradic
#E2D08C #8CE2A5 #8C9EE2 #E28CC9
square
#E2D08C #8CE2A5 #8C9EE2 #E28CC9
split-complementary
#E2D08C #8CC9E2 #A58CE2
monochromatic
#C3A431 #D6BC5B #E2D08C #EEE4BD #F9F5E7

Accessibility & contrast

On white

1.54
#E2D08C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#E2D08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D08C
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D08C#FFFFFF#000000##000000
##E2D08C1.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCD87
Deuteranopia (green-blind)
#E2D38E
Tritanopia (blue-blind)
#EFC6BF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e2d08c;
/* rgb */ color: rgb(226, 208, 140);
/* oklch */ color: oklch(85.7% 0.089 95.1);
Tailwind
colors: {
  custom: {
    50: '#ecdeae',
    500: '#e2d08c',
    950: '#000000',
  },
}
SCSS
$custom: #e2d08c;
$custom-light: #ecdeae;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d08c",
  "rgb": {
    "r": 226,
    "g": 208,
    "b": 140
  },
  "hsl": {
    "h": 47.442,
    "s": 59.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85694,
    "c": 0.08917,
    "h": 95.1
  },
  "luminance": 0.63174
}

Semantic roles & 50–950 ramp

primary
#E2D08C
secondary
#586CBA
accent
#42C71E
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2D08C

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

Preview Lab → · Contrast checker → · Palette generator →

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