#E2CD7D#E2CD7D

#E2CD7D is a very light, moderate yellow. Relative luminance 0.613; OKLCH L 84.8% C 0.103 H 95.1°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#E2CD7D
RGBrgb(226, 205, 125)
HSLhsl(48, 64%, 69%)
HSVhsv(48, 45%, 89%)
CMYKcmyk(0%, 9.3%, 44.7%, 11.4%)
CIE-LABlab(82.55, -3.38, 42.37)
CIE-LCHlch(82.55, 42.50, 94.56°)
OKLaboklab(84.84% -0.0092 0.1025)
OKLCHoklch(84.84% 0.103 95.1)
XYZxyz(56.8986, 61.3142, 28.2357)
Luminance0.6131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD7D #7D92E2
analogous
#E29B7D #E2CD7D #C5E27D
triadic
#E2CD7D #7DE2CD #CD7DE2
tetradic
#E2CD7D #7DE29B #7D92E2 #E27DC5
square
#E2CD7D #7DE29B #7D92E2 #E27DC5
split-complementary
#E2CD7D #7DC5E2 #9B7DE2
monochromatic
#BB9D2A #D7BA4B #E2CD7D #EDE0AF #F8F3E1

Accessibility & contrast

On white

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

On black

13.26
#E2CD7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD7D
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD7D#FFFFFF#000000##000000
##E2CD7D1.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCA77
Deuteranopia (green-blind)
#E2D080
Tritanopia (blue-blind)
#F0C2B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2cd7d;
/* rgb */ color: rgb(226, 205, 125);
/* oklch */ color: oklch(84.8% 0.103 95.1);
Tailwind
colors: {
  custom: {
    50: '#eddca4',
    500: '#e2cd7d',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd7d;
$custom-light: #eddca4;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd7d",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 125
  },
  "hsl": {
    "h": 47.525,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.84842,
    "c": 0.10294,
    "h": 95.1
  },
  "luminance": 0.61312
}

Semantic roles & 50–950 ramp

primary
#E2CD7D
secondary
#4A61B9
accent
#3FCB1A
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16150F
muted
#858480

Preview Lab

Preview with #E2CD7D

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

Preview Lab → · Contrast checker → · Palette generator →

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