#E1CC4F#E1CC4F

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

Color values

HEX#E1CC4F
RGBrgb(225, 204, 79)
HSLhsl(51, 71%, 60%)
HSVhsv(51, 65%, 88%)
CMYKcmyk(0%, 9.3%, 64.9%, 11.8%)
CIE-LABlab(81.71, -6.89, 62.74)
CIE-LCHlch(81.71, 63.12, 96.27°)
OKLaboklab(84% -0.0243 0.142)
OKLCHoklch(84% 0.144 99.7)
XYZxyz(54.0578, 59.7602, 16.0831)
Luminance0.5976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1CC4F #4F64E1
analogous
#E1834F #E1CC4F #ADE14F
triadic
#E1CC4F #4FE1CC #CC4FE1
tetradic
#E1CC4F #4FE183 #4F64E1 #E14FAD
square
#E1CC4F #4FE183 #4F64E1 #E14FAD
split-complementary
#E1CC4F #4FADE1 #834FE1
monochromatic
#9B891A #CFB723 #E1CC4F #EADB83 #F3EAB8

Accessibility & contrast

On white

1.62
#E1CC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#E1CC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1CC4F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1CC4F#FFFFFF#000000##000000
##E1CC4F1.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73F
Deuteranopia (green-blind)
#E4CF56
Tritanopia (blue-blind)
#F2BEB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e1cc4f;
/* rgb */ color: rgb(225, 204, 79);
/* oklch */ color: oklch(84.0% 0.144 99.7);
Tailwind
colors: {
  custom: {
    50: '#eedb86',
    500: '#e1cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #e1cc4f;
$custom-light: #eedb86;
$custom-dark: #000000;
JSON
{
  "hex": "#e1cc4f",
  "rgb": {
    "r": 225,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 51.37,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83997,
    "c": 0.14407,
    "h": 99.7
  },
  "luminance": 0.59758
}

Semantic roles & 50–950 ramp

primary
#E1CC4F
secondary
#35459F
accent
#54EE3A
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E1CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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