#E2CC77#E2CC77

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

Color values

HEX#E2CC77
RGBrgb(226, 204, 119)
HSLhsl(48, 65%, 68%)
HSVhsv(48, 47%, 89%)
CMYKcmyk(0%, 9.7%, 47.3%, 11.4%)
CIE-LABlab(82.21, -3.44, 44.93)
CIE-LCHlch(82.21, 45.07, 94.38°)
OKLaboklab(84.55% -0.01 0.1079)
OKLCHoklch(84.55% 0.108 95.3)
XYZxyz(56.2884, 60.6886, 26.1983)
Luminance0.6069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CC77 #778DE2
analogous
#E29777 #E2CC77 #C2E277
triadic
#E2CC77 #77E2CC #CC77E2
tetradic
#E2CC77 #77E297 #778DE2 #E277C2
square
#E2CC77 #77E297 #778DE2 #E277C2
split-complementary
#E2CC77 #77C2E2 #9777E2
monochromatic
#B79A27 #D7B945 #E2CC77 #EDDFA9 #F8F2DC

Accessibility & contrast

On white

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

On black

13.14
#E2CC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CC77
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CC77#FFFFFF#000000##000000
##E2CC771.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC870
Deuteranopia (green-blind)
#E2D07A
Tritanopia (blue-blind)
#F1C0B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cc77;
/* rgb */ color: rgb(226, 204, 119);
/* oklch */ color: oklch(84.5% 0.108 95.3);
Tailwind
colors: {
  custom: {
    50: '#eddba0',
    500: '#e2cc77',
    950: '#000000',
  },
}
SCSS
$custom: #e2cc77;
$custom-light: #eddba0;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cc77",
  "rgb": {
    "r": 226,
    "g": 204,
    "b": 119
  },
  "hsl": {
    "h": 47.664,
    "s": 64.848,
    "l": 67.647
  },
  "oklch": {
    "l": 0.8455,
    "c": 0.10835,
    "h": 95.3
  },
  "luminance": 0.60686
}

Semantic roles & 50–950 ramp

primary
#E2CC77
secondary
#455DB8
accent
#3ECD19
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #E2CC77

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

Preview Lab → · Contrast checker → · Palette generator →

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