#E2DA98#E2DA98

#E2DA98 is a very light, moderate yellow. Relative luminance 0.686; OKLCH L 87.9% C 0.085 H 102.1°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#E2DA98
RGBrgb(226, 218, 152)
HSLhsl(54, 56%, 74%)
HSVhsv(54, 33%, 89%)
CMYKcmyk(0%, 3.5%, 32.7%, 11.4%)
CIE-LABlab(86.30, -7.06, 33.53)
CIE-LCHlch(86.30, 34.27, 101.88°)
OKLaboklab(87.94% -0.0179 0.0834)
OKLCHoklch(87.94% 0.085 102.1)
XYZxyz(62.1036, 68.5800, 39.6654)
Luminance0.6858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DA98 #98A0E2
analogous
#E2B598 #E2DA98 #C5E298
triadic
#E2DA98 #98E2DA #DA98E2
tetradic
#E2DA98 #98E2B5 #98A0E2 #E298C5
square
#E2DA98 #98E2B5 #98A0E2 #E298C5
split-complementary
#E2DA98 #98C5E2 #B598E2
monochromatic
#C7B838 #D5C968 #E2DA98 #EFEBC8 #F8F6E7

Accessibility & contrast

On white

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

On black

14.72
#E2DA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DA98
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DA98#FFFFFF#000000##000000
##E2DA981.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2da98;
/* rgb */ color: rgb(226, 218, 152);
/* oklch */ color: oklch(87.9% 0.085 102.1);
Tailwind
colors: {
  custom: {
    50: '#ece5b7',
    500: '#e2da98',
    950: '#000000',
  },
}
SCSS
$custom: #e2da98;
$custom-light: #ece5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2da98",
  "rgb": {
    "r": 226,
    "g": 218,
    "b": 152
  },
  "hsl": {
    "h": 53.514,
    "s": 56.061,
    "l": 74.118
  },
  "oklch": {
    "l": 0.87939,
    "c": 0.08525,
    "h": 102.1
  },
  "luminance": 0.68579
}

Semantic roles & 50–950 ramp

primary
#E2DA98
secondary
#636DBB
accent
#33C422
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E2DA98

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

Preview Lab → · Contrast checker → · Palette generator →

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