#E2CD3E#E2CD3E

#E2CD3E is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.2% C 0.156 H 100.7°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#E2CD3E
RGBrgb(226, 205, 62)
HSLhsl(52, 74%, 56%)
HSVhsv(52, 73%, 89%)
CMYKcmyk(0%, 9.3%, 72.6%, 11.4%)
CIE-LABlab(81.94, -7.85, 69.56)
CIE-LCHlch(81.94, 70.00, 96.44°)
OKLaboklab(84.16% -0.0289 0.1535)
OKLCHoklch(84.16% 0.156 100.7)
XYZxyz(54.0674, 60.1817, 13.3248)
Luminance0.6018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD3E #3E53E2
analogous
#E27B3E #E2CD3E #A5E23E
triadic
#E2CD3E #3EE2CD #CD3EE2
tetradic
#E2CD3E #3EE27B #3E53E2 #E23EA5
square
#E2CD3E #3EE27B #3E53E2 #E23EA5
split-complementary
#E2CD3E #3EA5E2 #7B3EE2
monochromatic
#908016 #C5B01E #E2CD3E #EADB73 #F2E9A8

Accessibility & contrast

On white

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

On black

13.04
#E2CD3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD3E
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD3E#FFFFFF#000000##000000
##E2CD3E1.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2cd3e;
/* rgb */ color: rgb(226, 205, 62);
/* oklch */ color: oklch(84.2% 0.156 100.7);
Tailwind
colors: {
  custom: {
    50: '#efdb7d',
    500: '#e2cd3e',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd3e;
$custom-light: #efdb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd3e",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 62
  },
  "hsl": {
    "h": 52.317,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.84162,
    "c": 0.15622,
    "h": 100.7
  },
  "luminance": 0.60179
}

Semantic roles & 50–950 ramp

primary
#E2CD3E
secondary
#2F3C95
accent
#4FF137
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #E2CD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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