#E2CC8A#E2CC8A

#E2CC8A is a very light, moderate yellow. Relative luminance 0.612; OKLCH L 84.9% C 0.088 H 91.8°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#E2CC8A
RGBrgb(226, 204, 138)
HSLhsl(45, 60%, 71%)
HSVhsv(45, 39%, 89%)
CMYKcmyk(0%, 9.7%, 38.9%, 11.4%)
CIE-LABlab(82.48, -1.50, 35.70)
CIE-LCHlch(82.48, 35.73, 92.41°)
OKLaboklab(84.85% -0.0027 0.0879)
OKLCHoklch(84.85% 0.088 91.8)
XYZxyz(57.5456, 61.1915, 32.8197)
Luminance0.6119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CC8A #8AA0E2
analogous
#E2A08A #E2CC8A #CCE28A
triadic
#E2CC8A #8AE2CC #CC8AE2
tetradic
#E2CC8A #8AE2A0 #8AA0E2 #E28ACC
square
#E2CC8A #8AE2A0 #8AA0E2 #E28ACC
split-complementary
#E2CC8A #8ACCE2 #A08AE2
monochromatic
#C29D30 #D6B759 #E2CC8A #EEE1BB #F9F4E6

Accessibility & contrast

On white

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

On black

13.24
#E2CC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CC8A
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CC8A#FFFFFF#000000##000000
##E2CC8A1.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC985
Deuteranopia (green-blind)
#DFD08C
Tritanopia (blue-blind)
#EFC2BB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2cc8a;
/* rgb */ color: rgb(226, 204, 138);
/* oklch */ color: oklch(84.9% 0.088 91.8);
Tailwind
colors: {
  custom: {
    50: '#ecdbad',
    500: '#e2cc8a',
    950: '#000000',
  },
}
SCSS
$custom: #e2cc8a;
$custom-light: #ecdbad;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cc8a",
  "rgb": {
    "r": 226,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 45,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.84852,
    "c": 0.08798,
    "h": 91.8
  },
  "luminance": 0.61189
}

Semantic roles & 50–950 ramp

primary
#E2CC8A
secondary
#566FBA
accent
#48C81E
background
#FFFEFD
surface
#FEFBF7
border
#D6D4D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2CC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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