#E2CD3D#E2CD3D

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

Color values

HEX#E2CD3D
RGBrgb(226, 205, 61)
HSLhsl(52, 74%, 56%)
HSVhsv(52, 73%, 89%)
CMYKcmyk(0%, 9.3%, 73%, 11.4%)
CIE-LABlab(81.93, -7.90, 69.91)
CIE-LCHlch(81.93, 70.35, 96.45°)
OKLaboklab(84.16% -0.0291 0.1541)
OKLCHoklch(84.16% 0.157 100.7)
XYZxyz(54.0402, 60.1708, 13.1816)
Luminance0.6017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD3D #3D52E2
analogous
#E27B3D #E2CD3D #A5E23D
triadic
#E2CD3D #3DE2CD #CD3DE2
tetradic
#E2CD3D #3DE27B #3D52E2 #E23DA5
square
#E2CD3D #3DE27B #3D52E2 #E23DA5
split-complementary
#E2CD3D #3DA5E2 #7B3DE2
monochromatic
#8F8015 #C4AF1D #E2CD3D #EADB72 #F2E8A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CD3D#FFFFFF#000000##000000
##E2CD3D1.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)
#E0C723
Deuteranopia (green-blind)
#E6CF47
Tritanopia (blue-blind)
#F3BEB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd3d;
/* rgb */ color: rgb(226, 205, 61);
/* oklch */ color: oklch(84.2% 0.157 100.7);
Tailwind
colors: {
  custom: {
    50: '#efdb7c',
    500: '#e2cd3d',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd3d;
$custom-light: #efdb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd3d",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 61
  },
  "hsl": {
    "h": 52.364,
    "s": 73.991,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84155,
    "c": 0.1568,
    "h": 100.7
  },
  "luminance": 0.60168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2CD3D

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

Preview Lab → · Contrast checker → · Palette generator →

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