#E2CC80#E2CC80

#E2CC80 is a very light, moderate yellow. Relative luminance 0.609; OKLCH L 84.7% C 0.099 H 93.8°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#E2CC80
RGBrgb(226, 204, 128)
HSLhsl(47, 63%, 69%)
HSVhsv(47, 43%, 89%)
CMYKcmyk(0%, 9.7%, 43.4%, 11.4%)
CIE-LABlab(82.33, -2.56, 40.59)
CIE-LCHlch(82.33, 40.67, 93.61°)
OKLaboklab(84.69% -0.0066 0.0987)
OKLCHoklch(84.69% 0.099 93.8)
XYZxyz(56.8547, 60.9151, 29.1808)
Luminance0.6091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CC80 #8096E2
analogous
#E29B80 #E2CC80 #C7E280
triadic
#E2CC80 #80E2CC #CC80E2
tetradic
#E2CC80 #80E29B #8096E2 #E280C7
square
#E2CC80 #80E29B #8096E2 #E280C7
split-complementary
#E2CC80 #80C7E2 #9B80E2
monochromatic
#BD9C2B #D7B84E #E2CC80 #EDE0B2 #F9F4E4

Accessibility & contrast

On white

1.59
#E2CC80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#E2CC80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CC80
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CC80#FFFFFF#000000##000000
##E2CC801.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC97A
Deuteranopia (green-blind)
#E1D083
Tritanopia (blue-blind)
#F0C1B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2cc80;
/* rgb */ color: rgb(226, 204, 128);
/* oklch */ color: oklch(84.7% 0.099 93.8);
Tailwind
colors: {
  custom: {
    50: '#eddba6',
    500: '#e2cc80',
    950: '#000000',
  },
}
SCSS
$custom: #e2cc80;
$custom-light: #eddba6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cc80",
  "rgb": {
    "r": 226,
    "g": 204,
    "b": 128
  },
  "hsl": {
    "h": 46.531,
    "s": 62.821,
    "l": 69.412
  },
  "oklch": {
    "l": 0.84686,
    "c": 0.0989,
    "h": 93.8
  },
  "luminance": 0.60913
}

Semantic roles & 50–950 ramp

primary
#E2CC80
secondary
#4D65BA
accent
#42CB1B
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16150F
muted
#858480

Preview Lab

Preview with #E2CC80

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

Preview Lab → · Contrast checker → · Palette generator →

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