#E2CD58#E2CD58

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

Color values

HEX#E2CD58
RGBrgb(226, 205, 88)
HSLhsl(51, 70%, 62%)
HSVhsv(51, 61%, 89%)
CMYKcmyk(0%, 9.3%, 61.1%, 11.4%)
CIE-LABlab(82.13, -6.42, 59.38)
CIE-LCHlch(82.13, 59.73, 96.17°)
OKLaboklab(84.38% -0.022 0.1362)
OKLCHoklch(84.38% 0.138 99.2)
XYZxyz(54.9590, 60.5384, 18.0208)
Luminance0.6054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD58 #586DE2
analogous
#E28858 #E2CD58 #B2E258
triadic
#E2CD58 #58E2CD #CD58E2
tetradic
#E2CD58 #58E288 #586DE2 #E258B2
square
#E2CD58 #58E288 #586DE2 #E258B2
split-complementary
#E2CD58 #58B2E2 #8858E2
monochromatic
#A38F1C #D7BC25 #E2CD58 #EBDD8C #F4ECC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CD58#FFFFFF#000000##000000
##E2CD581.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)
#DFC84B
Deuteranopia (green-blind)
#E5D05E
Tritanopia (blue-blind)
#F2BFB4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd58;
/* rgb */ color: rgb(226, 205, 88);
/* oklch */ color: oklch(84.4% 0.138 99.2);
Tailwind
colors: {
  custom: {
    50: '#eedc8c',
    500: '#e2cd58',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd58;
$custom-light: #eedc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd58",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 88
  },
  "hsl": {
    "h": 50.87,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84377,
    "c": 0.13791,
    "h": 99.2
  },
  "luminance": 0.60536
}

Semantic roles & 50–950 ramp

primary
#E2CD58
secondary
#3849A6
accent
#30D213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CD58

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

Preview Lab → · Contrast checker → · Palette generator →

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