#E2DF95#E2DF95

#E2DF95 is a very light, moderate yellow. Relative luminance 0.711; OKLCH L 88.9% C 0.094 H 106.2°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#E2DF95
RGBrgb(226, 223, 149)
HSLhsl(58, 57%, 74%)
HSVhsv(58, 34%, 89%)
CMYKcmyk(0%, 1.3%, 34.1%, 11.4%)
CIE-LABlab(87.54, -9.94, 36.69)
CIE-LCHlch(87.54, 38.02, 105.15°)
OKLaboklab(88.91% -0.0263 0.0907)
OKLCHoklch(88.91% 0.094 106.2)
XYZxyz(63.1772, 71.1153, 38.8265)
Luminance0.7111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF95 #9598E2
analogous
#E2B895 #E2DF95 #BEE295
triadic
#E2DF95 #95E2DF #DF95E2
tetradic
#E2DF95 #95E2B8 #9598E2 #E295BE
square
#E2DF95 #95E2B8 #9598E2 #E295BE
split-complementary
#E2DF95 #95BEE2 #B895E2
monochromatic
#C6C136 #D5D065 #E2DF95 #EFEEC5 #F8F8E7

Accessibility & contrast

On white

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

On black

15.22
#E2DF95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF95
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF95#FFFFFF#000000##000000
##E2DF951.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD990
Deuteranopia (green-blind)
#EDDD98
Tritanopia (blue-blind)
#EDD6CC
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e2df95;
/* rgb */ color: rgb(226, 223, 149);
/* oklch */ color: oklch(88.9% 0.094 106.2);
Tailwind
colors: {
  custom: {
    50: '#ece8b5',
    500: '#e2df95',
    950: '#000000',
  },
}
SCSS
$custom: #e2df95;
$custom-light: #ece8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df95",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 149
  },
  "hsl": {
    "h": 57.662,
    "s": 57.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.88911,
    "c": 0.09439,
    "h": 106.2
  },
  "luminance": 0.71114
}

Semantic roles & 50–950 ramp

primary
#E2DF95
secondary
#6064BB
accent
#27C521
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E2DF95

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

Preview Lab → · Contrast checker → · Palette generator →

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