#E2CC44#E2CC44

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

Color values

HEX#E2CC44
RGBrgb(226, 204, 68)
HSLhsl(52, 73%, 58%)
HSVhsv(52, 70%, 89%)
CMYKcmyk(0%, 9.7%, 69.9%, 11.4%)
CIE-LABlab(81.72, -7.06, 67.14)
CIE-LCHlch(81.72, 67.52, 96.01°)
OKLaboklab(84% -0.026 0.1495)
OKLCHoklch(84% 0.152 99.9)
XYZxyz(54.0028, 59.7744, 14.1608)
Luminance0.5977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CC44 #445AE2
analogous
#E27D44 #E2CC44 #A9E244
triadic
#E2CC44 #44E2CC #CC44E2
tetradic
#E2CC44 #44E27D #445AE2 #E244A9
square
#E2CC44 #44E27D #445AE2 #E244A9
split-complementary
#E2CC44 #44A9E2 #7D44E2
monochromatic
#958317 #CAB21F #E2CC44 #EADA79 #F2E9AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CC44#FFFFFF#000000##000000
##E2CC441.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)
#DFC62F
Deuteranopia (green-blind)
#E5CF4C
Tritanopia (blue-blind)
#F3BDB1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e2cc44;
/* rgb */ color: rgb(226, 204, 68);
/* oklch */ color: oklch(84.0% 0.152 99.9);
Tailwind
colors: {
  custom: {
    50: '#efdb80',
    500: '#e2cc44',
    950: '#000000',
  },
}
SCSS
$custom: #e2cc44;
$custom-light: #efdb80;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cc44",
  "rgb": {
    "r": 226,
    "g": 204,
    "b": 68
  },
  "hsl": {
    "h": 51.646,
    "s": 73.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83998,
    "c": 0.15173,
    "h": 99.9
  },
  "luminance": 0.59772
}

Semantic roles & 50–950 ramp

primary
#E2CC44
secondary
#314099
accent
#52F038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2CC44

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

Preview Lab → · Contrast checker → · Palette generator →

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