#E2D899#E2D899

#E2D899 is a very light, moderate yellow. Relative luminance 0.676; OKLCH L 87.5% C 0.082 H 100.2°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#E2D899
RGBrgb(226, 216, 153)
HSLhsl(52, 56%, 74%)
HSVhsv(52, 32%, 89%)
CMYKcmyk(0%, 4.4%, 32.3%, 11.4%)
CIE-LABlab(85.80, -5.92, 32.36)
CIE-LCHlch(85.80, 32.90, 100.36°)
OKLaboklab(87.55% -0.0145 0.0806)
OKLCHoklch(87.55% 0.082 100.2)
XYZxyz(61.6703, 67.5819, 39.9268)
Luminance0.6758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D899 #99A3E2
analogous
#E2B499 #E2D899 #C8E299
triadic
#E2D899 #99E2D8 #D899E2
tetradic
#E2D899 #99E2B4 #99A3E2 #E299C8
square
#E2D899 #99E2B4 #99A3E2 #E299C8
split-complementary
#E2D899 #99C8E2 #B499E2
monochromatic
#C7B43A #D4C669 #E2D899 #F0EAC9 #F8F6E7

Accessibility & contrast

On white

1.45
#E2D899 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#E2D899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D899
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D899#FFFFFF#000000##000000
##E2D8991.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D495
Deuteranopia (green-blind)
#E7D89B
Tritanopia (blue-blind)
#EDCFC8
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2d899;
/* rgb */ color: rgb(226, 216, 153);
/* oklch */ color: oklch(87.5% 0.082 100.2);
Tailwind
colors: {
  custom: {
    50: '#ece3b7',
    500: '#e2d899',
    950: '#000000',
  },
}
SCSS
$custom: #e2d899;
$custom-light: #ece3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d899",
  "rgb": {
    "r": 226,
    "g": 216,
    "b": 153
  },
  "hsl": {
    "h": 51.781,
    "s": 55.725,
    "l": 74.314
  },
  "oklch": {
    "l": 0.8755,
    "c": 0.08193,
    "h": 100.2
  },
  "luminance": 0.6758
}

Semantic roles & 50–950 ramp

primary
#E2D899
secondary
#6470BB
accent
#38C322
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E2D899

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

Preview Lab → · Contrast checker → · Palette generator →

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