#E2CD5A#E2CD5A

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

Color values

HEX#E2CD5A
RGBrgb(226, 205, 90)
HSLhsl(51, 70%, 62%)
HSVhsv(51, 60%, 89%)
CMYKcmyk(0%, 9.3%, 60.2%, 11.4%)
CIE-LABlab(82.15, -6.29, 58.52)
CIE-LCHlch(82.15, 58.86, 96.13°)
OKLaboklab(84.4% -0.0214 0.1346)
OKLCHoklch(84.4% 0.136 99)
XYZxyz(55.0430, 60.5719, 18.4631)
Luminance0.6057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD5A #5A6FE2
analogous
#E2895A #E2CD5A #B3E25A
triadic
#E2CD5A #5AE2CD #CD5AE2
tetradic
#E2CD5A #5AE289 #5A6FE2 #E25AB3
square
#E2CD5A #5AE289 #5A6FE2 #E25AB3
split-complementary
#E2CD5A #5AB3E2 #895AE2
monochromatic
#A5901D #D9BD26 #E2CD5A #EBDD8E #F4EDC2

Accessibility & contrast

On white

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

On black

13.11
#E2CD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD5A
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD5A#FFFFFF#000000##000000
##E2CD5A1.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84E
Deuteranopia (green-blind)
#E5D060
Tritanopia (blue-blind)
#F2BFB4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd5a;
/* rgb */ color: rgb(226, 205, 90);
/* oklch */ color: oklch(84.4% 0.136 99.0);
Tailwind
colors: {
  custom: {
    50: '#eedc8d',
    500: '#e2cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd5a;
$custom-light: #eedc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd5a",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 50.735,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84397,
    "c": 0.13627,
    "h": 99
  },
  "luminance": 0.6057
}

Semantic roles & 50–950 ramp

primary
#E2CD5A
secondary
#394AA7
accent
#31D213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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