#E2DA97#E2DA97

#E2DA97 is a very light, moderate yellow. Relative luminance 0.685; OKLCH L 87.9% C 0.086 H 102.2°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#E2DA97
RGBrgb(226, 218, 151)
HSLhsl(54, 56%, 74%)
HSVhsv(54, 33%, 89%)
CMYKcmyk(0%, 3.5%, 33.2%, 11.4%)
CIE-LABlab(86.28, -7.18, 34.02)
CIE-LCHlch(86.28, 34.77, 101.91°)
OKLaboklab(87.92% -0.0183 0.0845)
OKLCHoklch(87.92% 0.086 102.2)
XYZxyz(62.0220, 68.5473, 39.2359)
Luminance0.6855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DA97 #979FE2
analogous
#E2B597 #E2DA97 #C5E297
triadic
#E2DA97 #97E2DA #DA97E2
tetradic
#E2DA97 #97E2B5 #979FE2 #E297C5
square
#E2DA97 #97E2B5 #979FE2 #E297C5
split-complementary
#E2DA97 #97C5E2 #B597E2
monochromatic
#C7B838 #D5C967 #E2DA97 #EFEBC7 #F8F6E7

Accessibility & contrast

On white

1.43
#E2DA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#E2DA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DA97
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DA97#FFFFFF#000000##000000
##E2DA971.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D692
Deuteranopia (green-blind)
#E9DA9A
Tritanopia (blue-blind)
#EDD1C9
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2da97;
/* rgb */ color: rgb(226, 218, 151);
/* oklch */ color: oklch(87.9% 0.086 102.2);
Tailwind
colors: {
  custom: {
    50: '#ece5b6',
    500: '#e2da97',
    950: '#000000',
  },
}
SCSS
$custom: #e2da97;
$custom-light: #ece5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2da97",
  "rgb": {
    "r": 226,
    "g": 218,
    "b": 151
  },
  "hsl": {
    "h": 53.6,
    "s": 56.391,
    "l": 73.922
  },
  "oklch": {
    "l": 0.87921,
    "c": 0.08643,
    "h": 102.2
  },
  "luminance": 0.68546
}

Semantic roles & 50–950 ramp

primary
#E2DA97
secondary
#626CBB
accent
#33C422
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E2DA97

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

Preview Lab → · Contrast checker → · Palette generator →

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