#E2CD57#E2CD57

#E2CD57 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.4% C 0.139 H 99.2°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#E2CD57
RGBrgb(226, 205, 87)
HSLhsl(51, 71%, 61%)
HSVhsv(51, 62%, 89%)
CMYKcmyk(0%, 9.3%, 61.5%, 11.4%)
CIE-LABlab(82.12, -6.49, 59.81)
CIE-LCHlch(82.12, 60.16, 96.19°)
OKLaboklab(84.37% -0.0223 0.1369)
OKLCHoklch(84.37% 0.139 99.2)
XYZxyz(54.9179, 60.5219, 17.8041)
Luminance0.6052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD57 #576CE2
analogous
#E28857 #E2CD57 #B2E257
triadic
#E2CD57 #57E2CD #CD57E2
tetradic
#E2CD57 #57E288 #576CE2 #E257B2
square
#E2CD57 #57E288 #576CE2 #E257B2
split-complementary
#E2CD57 #57B2E2 #8857E2
monochromatic
#A38E1C #D7BC25 #E2CD57 #EBDD8B #F4ECBF

Accessibility & contrast

On white

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

On black

13.10
#E2CD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD57
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD57#FFFFFF#000000##000000
##E2CD571.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2cd57;
/* rgb */ color: rgb(226, 205, 87);
/* oklch */ color: oklch(84.4% 0.139 99.2);
Tailwind
colors: {
  custom: {
    50: '#eedc8b',
    500: '#e2cd57',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd57;
$custom-light: #eedc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd57",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 87
  },
  "hsl": {
    "h": 50.935,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84367,
    "c": 0.13872,
    "h": 99.2
  },
  "luminance": 0.6052
}

Semantic roles & 50–950 ramp

primary
#E2CD57
secondary
#3848A5
accent
#30D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CD57

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

Preview Lab → · Contrast checker → · Palette generator →

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