#E2DD97#E2DD97

#E2DD97 is a very light, moderate yellow. Relative luminance 0.701; OKLCH L 88.5% C 0.090 H 104.6°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#E2DD97
RGBrgb(226, 221, 151)
HSLhsl(56, 56%, 74%)
HSVhsv(56, 33%, 89%)
CMYKcmyk(0%, 2.2%, 33.2%, 11.4%)
CIE-LABlab(87.05, -8.69, 35.04)
CIE-LCHlch(87.05, 36.11, 103.93°)
OKLaboklab(88.54% -0.0226 0.0869)
OKLCHoklch(88.54% 0.09 104.6)
XYZxyz(62.8070, 70.1173, 39.4976)
Luminance0.7012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD97 #979CE2
analogous
#E2B897 #E2DD97 #C2E297
triadic
#E2DD97 #97E2DD #DD97E2
tetradic
#E2DD97 #97E2B8 #979CE2 #E297C2
square
#E2DD97 #97E2B8 #979CE2 #E297C2
split-complementary
#E2DD97 #97C2E2 #B897E2
monochromatic
#C7BE38 #D5CD67 #E2DD97 #EFEDC7 #F8F7E7

Accessibility & contrast

On white

1.40
#E2DD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.02
#E2DD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD97
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD97#FFFFFF#000000##000000
##E2DD971.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D892
Deuteranopia (green-blind)
#EBDC9A
Tritanopia (blue-blind)
#EDD4CB
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2dd97;
/* rgb */ color: rgb(226, 221, 151);
/* oklch */ color: oklch(88.5% 0.090 104.6);
Tailwind
colors: {
  custom: {
    50: '#ece7b6',
    500: '#e2dd97',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd97;
$custom-light: #ece7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd97",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 151
  },
  "hsl": {
    "h": 56,
    "s": 56.391,
    "l": 73.922
  },
  "oklch": {
    "l": 0.88535,
    "c": 0.08977,
    "h": 104.6
  },
  "luminance": 0.70116
}

Semantic roles & 50–950 ramp

primary
#E2DD97
secondary
#6268BB
accent
#2CC422
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E2DD97

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

Preview Lab → · Contrast checker → · Palette generator →

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