#E2CD7A#E2CD7A

#E2CD7A is a very light, moderate yellow. Relative luminance 0.612; OKLCH L 84.8% C 0.106 H 95.6°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#E2CD7A
RGBrgb(226, 205, 122)
HSLhsl(48, 64%, 68%)
HSVhsv(48, 46%, 89%)
CMYKcmyk(0%, 9.3%, 46%, 11.4%)
CIE-LABlab(82.51, -3.67, 43.82)
CIE-LCHlch(82.51, 43.97, 94.79°)
OKLaboklab(84.8% -0.0103 0.1056)
OKLCHoklch(84.8% 0.106 95.6)
XYZxyz(56.7098, 61.2387, 27.2416)
Luminance0.6124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD7A #7A8FE2
analogous
#E2997A #E2CD7A #C3E27A
triadic
#E2CD7A #7AE2CD #CD7AE2
tetradic
#E2CD7A #7AE299 #7A8FE2 #E27AC3
square
#E2CD7A #7AE299 #7A8FE2 #E27AC3
split-complementary
#E2CD7A #7AC3E2 #997AE2
monochromatic
#B99C28 #D7BA48 #E2CD7A #EDE0AC #F8F3DE

Accessibility & contrast

On white

1.59
#E2CD7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#E2CD7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD7A
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD7A#FFFFFF#000000##000000
##E2CD7A1.001.5913.2513.25
#FFFFFF1.591.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2cd7a;
/* rgb */ color: rgb(226, 205, 122);
/* oklch */ color: oklch(84.8% 0.106 95.6);
Tailwind
colors: {
  custom: {
    50: '#eddca2',
    500: '#e2cd7a',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd7a;
$custom-light: #eddca2;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd7a",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 122
  },
  "hsl": {
    "h": 47.885,
    "s": 64.198,
    "l": 68.235
  },
  "oklch": {
    "l": 0.84797,
    "c": 0.10609,
    "h": 95.6
  },
  "luminance": 0.61237
}

Semantic roles & 50–950 ramp

primary
#E2CD7A
secondary
#475EB9
accent
#3ECC19
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E2CD7A

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

Preview Lab → · Contrast checker → · Palette generator →

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