#E2DE98#E2DE98

#E2DE98 is a very light, moderate yellow. Relative luminance 0.707; OKLCH L 88.8% C 0.090 H 105.3°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#E2DE98
RGBrgb(226, 222, 152)
HSLhsl(57, 56%, 74%)
HSVhsv(57, 33%, 89%)
CMYKcmyk(0%, 1.8%, 32.7%, 11.4%)
CIE-LABlab(87.33, -9.08, 34.90)
CIE-LCHlch(87.33, 36.06, 104.58°)
OKLaboklab(88.76% -0.0237 0.0866)
OKLCHoklch(88.76% 0.09 105.3)
XYZxyz(63.1534, 70.6796, 40.0154)
Luminance0.7068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DE98 #989CE2
analogous
#E2B998 #E2DE98 #C1E298
triadic
#E2DE98 #98E2DE #DE98E2
tetradic
#E2DE98 #98E2B9 #989CE2 #E298C1
square
#E2DE98 #98E2B9 #989CE2 #E298C1
split-complementary
#E2DE98 #98C1E2 #B998E2
monochromatic
#C7BF38 #D5CF68 #E2DE98 #EFEDC8 #F8F7E7

Accessibility & contrast

On white

1.39
#E2DE98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.14
#E2DE98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DE98
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DE98#FFFFFF#000000##000000
##E2DE981.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD993
Deuteranopia (green-blind)
#ECDC9B
Tritanopia (blue-blind)
#ECD5CC
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e2de98;
/* rgb */ color: rgb(226, 222, 152);
/* oklch */ color: oklch(88.8% 0.090 105.3);
Tailwind
colors: {
  custom: {
    50: '#ece8b7',
    500: '#e2de98',
    950: '#000000',
  },
}
SCSS
$custom: #e2de98;
$custom-light: #ece8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2de98",
  "rgb": {
    "r": 226,
    "g": 222,
    "b": 152
  },
  "hsl": {
    "h": 56.757,
    "s": 56.061,
    "l": 74.118
  },
  "oklch": {
    "l": 0.88758,
    "c": 0.08974,
    "h": 105.3
  },
  "luminance": 0.70678
}

Semantic roles & 50–950 ramp

primary
#E2DE98
secondary
#6368BB
accent
#2BC422
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E2DE98

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

Preview Lab → · Contrast checker → · Palette generator →

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