#E1CD51#E1CD51

#E1CD51 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.2% C 0.143 H 100.1°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#E1CD51
RGBrgb(225, 205, 81)
HSLhsl(52, 71%, 60%)
HSVhsv(52, 64%, 88%)
CMYKcmyk(0%, 8.9%, 64%, 11.8%)
CIE-LABlab(81.98, -7.28, 62.20)
CIE-LCHlch(81.98, 62.62, 96.68°)
OKLaboklab(84.22% -0.0252 0.1412)
OKLCHoklch(84.22% 0.143 100.1)
XYZxyz(54.3701, 60.2666, 16.5517)
Luminance0.6026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1CD51 #5165E1
analogous
#E18551 #E1CD51 #ADE151
triadic
#E1CD51 #51E1CD #CD51E1
tetradic
#E1CD51 #51E185 #5165E1 #E151AD
square
#E1CD51 #51E185 #5165E1 #E151AD
split-complementary
#E1CD51 #51ADE1 #8551E1
monochromatic
#9D8B1B #D1B924 #E1CD51 #EADC85 #F3EBB9

Accessibility & contrast

On white

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

On black

13.05
#E1CD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1CD51
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1CD51#FFFFFF#000000##000000
##E1CD511.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC842
Deuteranopia (green-blind)
#E5CF58
Tritanopia (blue-blind)
#F2BFB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e1cd51;
/* rgb */ color: rgb(225, 205, 81);
/* oklch */ color: oklch(84.2% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#eedb87',
    500: '#e1cd51',
    950: '#000000',
  },
}
SCSS
$custom: #e1cd51;
$custom-light: #eedb87;
$custom-dark: #000000;
JSON
{
  "hex": "#e1cd51",
  "rgb": {
    "r": 225,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 51.667,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.8422,
    "c": 0.14339,
    "h": 100.1
  },
  "luminance": 0.60264
}

Semantic roles & 50–950 ramp

primary
#E1CD51
secondary
#3645A0
accent
#53ED3A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E1CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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