#E2CD3A#E2CD3A

#E2CD3A is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.1% C 0.159 H 100.8°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#E2CD3A
RGBrgb(226, 205, 58)
HSLhsl(53, 74%, 56%)
HSVhsv(53, 74%, 89%)
CMYKcmyk(0%, 9.3%, 74.3%, 11.4%)
CIE-LABlab(81.91, -8.03, 70.92)
CIE-LCHlch(81.91, 71.38, 96.46°)
OKLaboklab(84.14% -0.0297 0.1557)
OKLCHoklch(84.14% 0.159 100.8)
XYZxyz(53.9616, 60.1394, 12.7679)
Luminance0.6014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD3A #3A4FE2
analogous
#E2793A #E2CD3A #A3E23A
triadic
#E2CD3A #3AE2CD #CD3AE2
tetradic
#E2CD3A #3AE279 #3A4FE2 #E23AA3
square
#E2CD3A #3AE279 #3A4FE2 #E23AA3
split-complementary
#E2CD3A #3AA3E2 #793AE2
monochromatic
#8D7E15 #C2AE1D #E2CD3A #EADB6F #F2E8A5

Accessibility & contrast

On white

1.61
#E2CD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#E2CD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD3A
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD3A#FFFFFF#000000##000000
##E2CD3A1.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C71D
Deuteranopia (green-blind)
#E6CF44
Tritanopia (blue-blind)
#F3BEB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd3a;
/* rgb */ color: rgb(226, 205, 58);
/* oklch */ color: oklch(84.1% 0.159 100.8);
Tailwind
colors: {
  custom: {
    50: '#efdb7b',
    500: '#e2cd3a',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd3a;
$custom-light: #efdb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd3a",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 58
  },
  "hsl": {
    "h": 52.5,
    "s": 74.336,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84136,
    "c": 0.1585,
    "h": 100.8
  },
  "luminance": 0.60137
}

Semantic roles & 50–950 ramp

primary
#E2CD3A
secondary
#2E3B92
accent
#4EF137
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #E2CD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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