#E2DF98#E2DF98

#E2DF98 is a very light, moderate yellow. Relative luminance 0.712; OKLCH L 89.0% C 0.091 H 106.0°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#E2DF98
RGBrgb(226, 223, 152)
HSLhsl(58, 56%, 74%)
HSVhsv(58, 33%, 89%)
CMYKcmyk(0%, 1.3%, 32.7%, 11.4%)
CIE-LABlab(87.59, -9.58, 35.24)
CIE-LCHlch(87.59, 36.52, 105.21°)
OKLaboklab(88.96% -0.0251 0.0874)
OKLCHoklch(88.96% 0.091 106)
XYZxyz(63.4198, 71.2123, 40.1042)
Luminance0.7121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF98 #989BE2
analogous
#E2BA98 #E2DF98 #C0E298
triadic
#E2DF98 #98E2DF #DF98E2
tetradic
#E2DF98 #98E2BA #989BE2 #E298C0
square
#E2DF98 #98E2BA #989BE2 #E298C0
split-complementary
#E2DF98 #98C0E2 #BA98E2
monochromatic
#C7C138 #D5D068 #E2DF98 #EFEEC8 #F8F8E7

Accessibility & contrast

On white

1.38
#E2DF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.24
#E2DF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF98
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF98#FFFFFF#000000##000000
##E2DF981.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBDA93
Deuteranopia (green-blind)
#EDDD9B
Tritanopia (blue-blind)
#ECD6CD
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e2df98;
/* rgb */ color: rgb(226, 223, 152);
/* oklch */ color: oklch(89.0% 0.091 106.0);
Tailwind
colors: {
  custom: {
    50: '#ece8b7',
    500: '#e2df98',
    950: '#000000',
  },
}
SCSS
$custom: #e2df98;
$custom-light: #ece8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df98",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 152
  },
  "hsl": {
    "h": 57.568,
    "s": 56.061,
    "l": 74.118
  },
  "oklch": {
    "l": 0.88963,
    "c": 0.0909,
    "h": 106
  },
  "luminance": 0.71211
}

Semantic roles & 50–950 ramp

primary
#E2DF98
secondary
#6367BB
accent
#28C422
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E2DF98

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

Preview Lab → · Contrast checker → · Palette generator →

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