#E2CC76#E2CC76

#E2CC76 is a very light, moderate yellow. Relative luminance 0.607; OKLCH L 84.5% C 0.109 H 95.4°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#E2CC76
RGBrgb(226, 204, 118)
HSLhsl(48, 65%, 67%)
HSVhsv(48, 48%, 89%)
CMYKcmyk(0%, 9.7%, 47.8%, 11.4%)
CIE-LABlab(82.20, -3.53, 45.41)
CIE-LCHlch(82.20, 45.55, 94.45°)
OKLaboklab(84.54% -0.0103 0.1089)
OKLCHoklch(84.54% 0.109 95.4)
XYZxyz(56.2286, 60.6647, 25.8836)
Luminance0.6066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CC76 #768CE2
analogous
#E29676 #E2CC76 #C2E276
triadic
#E2CC76 #76E2CC #CC76E2
tetradic
#E2CC76 #76E296 #768CE2 #E276C2
square
#E2CC76 #76E296 #768CE2 #E276C2
split-complementary
#E2CC76 #76C2E2 #9676E2
monochromatic
#B79A27 #D7B943 #E2CC76 #EDDFA9 #F7F2DB

Accessibility & contrast

On white

1.60
#E2CC76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#E2CC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CC76
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CC76#FFFFFF#000000##000000
##E2CC761.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC86F
Deuteranopia (green-blind)
#E2D079
Tritanopia (blue-blind)
#F1C0B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cc76;
/* rgb */ color: rgb(226, 204, 118);
/* oklch */ color: oklch(84.5% 0.109 95.4);
Tailwind
colors: {
  custom: {
    50: '#eddb9f',
    500: '#e2cc76',
    950: '#000000',
  },
}
SCSS
$custom: #e2cc76;
$custom-light: #eddb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cc76",
  "rgb": {
    "r": 226,
    "g": 204,
    "b": 118
  },
  "hsl": {
    "h": 47.778,
    "s": 65.06,
    "l": 67.451
  },
  "oklch": {
    "l": 0.84536,
    "c": 0.10937,
    "h": 95.4
  },
  "luminance": 0.60662
}

Semantic roles & 50–950 ramp

primary
#E2CC76
secondary
#455CB8
accent
#3DCD19
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #E2CC76

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

Preview Lab → · Contrast checker → · Palette generator →

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