#E2CC46#E2CC46

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

Color values

HEX#E2CC46
RGBrgb(226, 204, 70)
HSLhsl(52, 73%, 58%)
HSVhsv(52, 69%, 89%)
CMYKcmyk(0%, 9.7%, 69%, 11.4%)
CIE-LABlab(81.73, -6.96, 66.39)
CIE-LCHlch(81.73, 66.76, 95.99°)
OKLaboklab(84.01% -0.0255 0.1482)
OKLCHoklch(84.01% 0.15 99.8)
XYZxyz(54.0649, 59.7992, 14.4878)
Luminance0.5980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CC46 #465CE2
analogous
#E27E46 #E2CC46 #AAE246
triadic
#E2CC46 #46E2CC #CC46E2
tetradic
#E2CC46 #46E27E #465CE2 #E246AA
square
#E2CC46 #46E27E #465CE2 #E246AA
split-complementary
#E2CC46 #46AAE2 #7E46E2
monochromatic
#968418 #CBB320 #E2CC46 #EADB7B #F3E9B0

Accessibility & contrast

On white

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

On black

12.96
#E2CC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CC46
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CC46#FFFFFF#000000##000000
##E2CC461.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC732
Deuteranopia (green-blind)
#E5CF4E
Tritanopia (blue-blind)
#F3BDB1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e2cc46;
/* rgb */ color: rgb(226, 204, 70);
/* oklch */ color: oklch(84.0% 0.150 99.8);
Tailwind
colors: {
  custom: {
    50: '#efdb81',
    500: '#e2cc46',
    950: '#000000',
  },
}
SCSS
$custom: #e2cc46;
$custom-light: #efdb81;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cc46",
  "rgb": {
    "r": 226,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 51.538,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84013,
    "c": 0.15042,
    "h": 99.8
  },
  "luminance": 0.59797
}

Semantic roles & 50–950 ramp

primary
#E2CC46
secondary
#32419A
accent
#52F038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2CC46

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

Preview Lab → · Contrast checker → · Palette generator →

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