#E2CD5D#E2CD5D

#E2CD5D is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.4% C 0.134 H 98.8°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#E2CD5D
RGBrgb(226, 205, 93)
HSLhsl(51, 70%, 63%)
HSVhsv(51, 59%, 89%)
CMYKcmyk(0%, 9.3%, 58.8%, 11.4%)
CIE-LABlab(82.18, -6.08, 57.22)
CIE-LCHlch(82.18, 57.54, 96.07°)
OKLaboklab(84.43% -0.0204 0.1322)
OKLCHoklch(84.43% 0.134 98.8)
XYZxyz(55.1733, 60.6241, 19.1492)
Luminance0.6062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD5D #5D72E2
analogous
#E28A5D #E2CD5D #B5E25D
triadic
#E2CD5D #5DE2CD #CD5DE2
tetradic
#E2CD5D #5DE28A #5D72E2 #E25DB5
square
#E2CD5D #5DE28A #5D72E2 #E25DB5
split-complementary
#E2CD5D #5DB5E2 #8A5DE2
monochromatic
#A7911E #D9BD29 #E2CD5D #EBDD91 #F5EDC5

Accessibility & contrast

On white

1.60
#E2CD5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#E2CD5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD5D
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD5D#FFFFFF#000000##000000
##E2CD5D1.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC851
Deuteranopia (green-blind)
#E5D062
Tritanopia (blue-blind)
#F2C0B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd5d;
/* rgb */ color: rgb(226, 205, 93);
/* oklch */ color: oklch(84.4% 0.134 98.8);
Tailwind
colors: {
  custom: {
    50: '#eedc8f',
    500: '#e2cd5d',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd5d;
$custom-light: #eedc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd5d",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 93
  },
  "hsl": {
    "h": 50.526,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84428,
    "c": 0.13375,
    "h": 98.8
  },
  "luminance": 0.60622
}

Semantic roles & 50–950 ramp

primary
#E2CD5D
secondary
#3A4CA9
accent
#32D214
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2CD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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