#E2CD8D#E2CD8D

#E2CD8D is a very light, moderate yellow. Relative luminance 0.618; OKLCH L 85.1% C 0.085 H 92.0°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#E2CD8D
RGBrgb(226, 205, 141)
HSLhsl(45, 59%, 72%)
HSVhsv(45, 38%, 89%)
CMYKcmyk(0%, 9.3%, 37.6%, 11.4%)
CIE-LABlab(82.78, -1.68, 34.55)
CIE-LCHlch(82.78, 34.59, 92.79°)
OKLaboklab(85.11% -0.003 0.0854)
OKLCHoklch(85.11% 0.085 92)
XYZxyz(58.0042, 61.7564, 34.0589)
Luminance0.6175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD8D #8DA2E2
analogous
#E2A28D #E2CD8D #CDE28D
triadic
#E2CD8D #8DE2CD #CD8DE2
tetradic
#E2CD8D #8DE2A2 #8DA2E2 #E28DCD
square
#E2CD8D #8DE2A2 #8DA2E2 #E28DCD
split-complementary
#E2CD8D #8DCDE2 #A28DE2
monochromatic
#C39F32 #D6B85C #E2CD8D #EEE2BE #F9F4E7

Accessibility & contrast

On white

1.57
#E2CD8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#E2CD8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD8D
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD8D#FFFFFF#000000##000000
##E2CD8D1.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DACA88
Deuteranopia (green-blind)
#E0D18F
Tritanopia (blue-blind)
#EFC3BD
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2cd8d;
/* rgb */ color: rgb(226, 205, 141);
/* oklch */ color: oklch(85.1% 0.085 92.0);
Tailwind
colors: {
  custom: {
    50: '#ecdcaf',
    500: '#e2cd8d',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd8d;
$custom-light: #ecdcaf;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd8d",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 141
  },
  "hsl": {
    "h": 45.176,
    "s": 59.441,
    "l": 71.961
  },
  "oklch": {
    "l": 0.85106,
    "c": 0.08544,
    "h": 92
  },
  "luminance": 0.61754
}

Semantic roles & 50–950 ramp

primary
#E2CD8D
secondary
#5971BA
accent
#48C71E
background
#FFFEFD
surface
#FEFBF7
border
#D6D4D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2CD8D

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

Preview Lab → · Contrast checker → · Palette generator →

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