#E2CC4E#E2CC4E

#E2CC4E is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 84.1% C 0.145 H 99.3°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#E2CC4E
RGBrgb(226, 204, 78)
HSLhsl(51, 72%, 60%)
HSVhsv(51, 65%, 89%)
CMYKcmyk(0%, 9.7%, 65.5%, 11.4%)
CIE-LABlab(81.79, -6.53, 63.26)
CIE-LCHlch(81.79, 63.60, 95.89°)
OKLaboklab(84.08% -0.0234 0.1429)
OKLCHoklch(84.08% 0.145 99.3)
XYZxyz(54.3344, 59.9070, 15.9075)
Luminance0.5990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CC4E #4E64E2
analogous
#E2824E #E2CC4E #AEE24E
triadic
#E2CC4E #4EE2CC #CC4EE2
tetradic
#E2CC4E #4EE282 #4E64E2 #E24EAE
square
#E2CC4E #4EE282 #4E64E2 #E24EAE
split-complementary
#E2CC4E #4EAEE2 #824EE2
monochromatic
#9C891A #D1B722 #E2CC4E #EBDB83 #F3EAB7

Accessibility & contrast

On white

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

On black

12.98
#E2CC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CC4E
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CC4E#FFFFFF#000000##000000
##E2CC4E1.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73E
Deuteranopia (green-blind)
#E5CF55
Tritanopia (blue-blind)
#F3BEB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e2cc4e;
/* rgb */ color: rgb(226, 204, 78);
/* oklch */ color: oklch(84.1% 0.145 99.3);
Tailwind
colors: {
  custom: {
    50: '#efdb85',
    500: '#e2cc4e',
    950: '#000000',
  },
}
SCSS
$custom: #e2cc4e;
$custom-light: #efdb85;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cc4e",
  "rgb": {
    "r": 226,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 51.081,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84078,
    "c": 0.14484,
    "h": 99.3
  },
  "luminance": 0.59905
}

Semantic roles & 50–950 ramp

primary
#E2CC4E
secondary
#35459F
accent
#54EF39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2CC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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