#E2CD7E#E2CD7E

#E2CD7E is a very light, moderate yellow. Relative luminance 0.613; OKLCH L 84.9% C 0.102 H 95.0°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#E2CD7E
RGBrgb(226, 205, 126)
HSLhsl(47, 63%, 69%)
HSVhsv(47, 44%, 89%)
CMYKcmyk(0%, 9.3%, 44.2%, 11.4%)
CIE-LABlab(82.56, -3.28, 41.89)
CIE-LCHlch(82.56, 42.01, 94.47°)
OKLaboklab(84.86% -0.0088 0.1015)
OKLCHoklch(84.86% 0.102 95)
XYZxyz(56.9628, 61.3399, 28.5739)
Luminance0.6134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD7E #7E93E2
analogous
#E29B7E #E2CD7E #C5E27E
triadic
#E2CD7E #7EE2CD #CD7EE2
tetradic
#E2CD7E #7EE29B #7E93E2 #E27EC5
square
#E2CD7E #7EE29B #7E93E2 #E27EC5
split-complementary
#E2CD7E #7EC5E2 #9B7EE2
monochromatic
#BB9D2A #D7BA4C #E2CD7E #EDE0B0 #F8F4E2

Accessibility & contrast

On white

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

On black

13.27
#E2CD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD7E
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD7E#FFFFFF#000000##000000
##E2CD7E1.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCA78
Deuteranopia (green-blind)
#E2D081
Tritanopia (blue-blind)
#F0C2BA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2cd7e;
/* rgb */ color: rgb(226, 205, 126);
/* oklch */ color: oklch(84.9% 0.102 95.0);
Tailwind
colors: {
  custom: {
    50: '#eddca4',
    500: '#e2cd7e',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd7e;
$custom-light: #eddca4;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd7e",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 126
  },
  "hsl": {
    "h": 47.4,
    "s": 63.291,
    "l": 69.02
  },
  "oklch": {
    "l": 0.84857,
    "c": 0.10188,
    "h": 95
  },
  "luminance": 0.61338
}

Semantic roles & 50–950 ramp

primary
#E2CD7E
secondary
#4B62B9
accent
#40CB1A
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16150F
muted
#858480

Preview Lab

Preview with #E2CD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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