#E2CD50#E2CD50

#E2CD50 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.3% C 0.144 H 99.7°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#E2CD50
RGBrgb(226, 205, 80)
HSLhsl(51, 72%, 60%)
HSVhsv(51, 65%, 89%)
CMYKcmyk(0%, 9.3%, 64.6%, 11.4%)
CIE-LABlab(82.06, -6.92, 62.72)
CIE-LCHlch(82.06, 63.11, 96.30°)
OKLaboklab(84.3% -0.0243 0.1421)
OKLCHoklch(84.3% 0.144 99.7)
XYZxyz(54.6456, 60.4130, 16.3703)
Luminance0.6041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD50 #5065E2
analogous
#E28450 #E2CD50 #AEE250
triadic
#E2CD50 #50E2CD #CD50E2
tetradic
#E2CD50 #50E284 #5065E2 #E250AE
square
#E2CD50 #50E284 #5065E2 #E250AE
split-complementary
#E2CD50 #50AEE2 #8450E2
monochromatic
#9E8B1A #D2B923 #E2CD50 #EBDC84 #F3EBB9

Accessibility & contrast

On white

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

On black

13.08
#E2CD50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD50
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD50#FFFFFF#000000##000000
##E2CD501.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C841
Deuteranopia (green-blind)
#E5D057
Tritanopia (blue-blind)
#F3BFB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd50;
/* rgb */ color: rgb(226, 205, 80);
/* oklch */ color: oklch(84.3% 0.144 99.7);
Tailwind
colors: {
  custom: {
    50: '#eedb87',
    500: '#e2cd50',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd50;
$custom-light: #eedb87;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd50",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 80
  },
  "hsl": {
    "h": 51.37,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.84301,
    "c": 0.14417,
    "h": 99.7
  },
  "luminance": 0.60411
}

Semantic roles & 50–950 ramp

primary
#E2CD50
secondary
#3545A1
accent
#54EE39
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CD50

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

Preview Lab → · Contrast checker → · Palette generator →

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