#E1CC4A#E1CC4A

#E1CC4A is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.0% C 0.148 H 100.0°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#E1CC4A
RGBrgb(225, 204, 74)
HSLhsl(52, 72%, 59%)
HSVhsv(52, 67%, 88%)
CMYKcmyk(0%, 9.3%, 67.1%, 11.8%)
CIE-LABlab(81.67, -7.17, 64.74)
CIE-LCHlch(81.67, 65.13, 96.32°)
OKLaboklab(83.95% -0.0256 0.1454)
OKLCHoklch(83.95% 0.148 100)
XYZxyz(53.8826, 59.6901, 15.1604)
Luminance0.5969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1CC4A #4A5FE1
analogous
#E1804A #E1CC4A #AAE14A
triadic
#E1CC4A #4AE1CC #CC4AE1
tetradic
#E1CC4A #4AE180 #4A5FE1 #E14AAA
square
#E1CC4A #4AE180 #4A5FE1 #E14AAA
split-complementary
#E1CC4A #4AAAE1 #804AE1
monochromatic
#978619 #CCB422 #E1CC4A #EADB7E #F2EAB3

Accessibility & contrast

On white

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

On black

12.94
#E1CC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1CC4A
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1CC4A#FFFFFF#000000##000000
##E1CC4A1.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC638
Deuteranopia (green-blind)
#E5CE52
Tritanopia (blue-blind)
#F2BEB1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e1cc4a;
/* rgb */ color: rgb(225, 204, 74);
/* oklch */ color: oklch(84.0% 0.148 100.0);
Tailwind
colors: {
  custom: {
    50: '#eedb83',
    500: '#e1cc4a',
    950: '#000000',
  },
}
SCSS
$custom: #e1cc4a;
$custom-light: #eedb83;
$custom-dark: #000000;
JSON
{
  "hex": "#e1cc4a",
  "rgb": {
    "r": 225,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 51.656,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83954,
    "c": 0.14768,
    "h": 100
  },
  "luminance": 0.59688
}

Semantic roles & 50–950 ramp

primary
#E1CC4A
secondary
#34429B
accent
#53EE39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E1CC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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