#E2CE8A#E2CE8A

#E2CE8A is a very light, moderate yellow. Relative luminance 0.621; OKLCH L 85.3% C 0.090 H 93.6°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#E2CE8A
RGBrgb(226, 206, 138)
HSLhsl(46, 60%, 71%)
HSVhsv(46, 39%, 89%)
CMYKcmyk(0%, 8.8%, 38.9%, 11.4%)
CIE-LABlab(82.99, -2.53, 36.36)
CIE-LCHlch(82.99, 36.45, 93.99°)
OKLaboklab(85.26% -0.0057 0.0895)
OKLCHoklch(85.26% 0.09 93.6)
XYZxyz(58.0240, 62.1483, 32.9792)
Luminance0.6215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CE8A #8A9EE2
analogous
#E2A28A #E2CE8A #CAE28A
triadic
#E2CE8A #8AE2CE #CE8AE2
tetradic
#E2CE8A #8AE2A2 #8A9EE2 #E28ACA
square
#E2CE8A #8AE2A2 #8A9EE2 #E28ACA
split-complementary
#E2CE8A #8ACAE2 #A28AE2
monochromatic
#C2A130 #D6B959 #E2CE8A #EEE3BB #F9F5E6

Accessibility & contrast

On white

1.56
#E2CE8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#E2CE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CE8A
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CE8A#FFFFFF#000000##000000
##E2CE8A1.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCB85
Deuteranopia (green-blind)
#E1D18C
Tritanopia (blue-blind)
#EFC4BD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e2ce8a;
/* rgb */ color: rgb(226, 206, 138);
/* oklch */ color: oklch(85.3% 0.090 93.6);
Tailwind
colors: {
  custom: {
    50: '#ecdcad',
    500: '#e2ce8a',
    950: '#000000',
  },
}
SCSS
$custom: #e2ce8a;
$custom-light: #ecdcad;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ce8a",
  "rgb": {
    "r": 226,
    "g": 206,
    "b": 138
  },
  "hsl": {
    "h": 46.364,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.85255,
    "c": 0.08965,
    "h": 93.6
  },
  "luminance": 0.62146
}

Semantic roles & 50–950 ramp

primary
#E2CE8A
secondary
#566DBA
accent
#44C81E
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2CE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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