#E2DF92#E2DF92

#E2DF92 is a very light, moderate yellow. Relative luminance 0.710; OKLCH L 88.9% C 0.098 H 106.3°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#E2DF92
RGBrgb(226, 223, 146)
HSLhsl(58, 58%, 73%)
HSVhsv(58, 35%, 89%)
CMYKcmyk(0%, 1.3%, 35.4%, 11.4%)
CIE-LABlab(87.50, -10.29, 38.15)
CIE-LCHlch(87.50, 39.51, 105.09°)
OKLaboklab(88.86% -0.0275 0.0939)
OKLCHoklch(88.86% 0.098 106.3)
XYZxyz(62.9407, 71.0207, 37.5813)
Luminance0.7102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF92 #9295E2
analogous
#E2B792 #E2DF92 #BDE292
triadic
#E2DF92 #92E2DF #DF92E2
tetradic
#E2DF92 #92E2B7 #9295E2 #E292BD
square
#E2DF92 #92E2B7 #9295E2 #E292BD
split-complementary
#E2DF92 #92BDE2 #B792E2
monochromatic
#C5C034 #D5D162 #E2DF92 #EFEDC2 #F9F8E7

Accessibility & contrast

On white

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

On black

15.20
#E2DF92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF92
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF92#FFFFFF#000000##000000
##E2DF921.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2df92;
/* rgb */ color: rgb(226, 223, 146);
/* oklch */ color: oklch(88.9% 0.098 106.3);
Tailwind
colors: {
  custom: {
    50: '#ece8b3',
    500: '#e2df92',
    950: '#000000',
  },
}
SCSS
$custom: #e2df92;
$custom-light: #ece8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df92",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 146
  },
  "hsl": {
    "h": 57.75,
    "s": 57.971,
    "l": 72.941
  },
  "oklch": {
    "l": 0.88859,
    "c": 0.09785,
    "h": 106.3
  },
  "luminance": 0.71019
}

Semantic roles & 50–950 ramp

primary
#E2DF92
secondary
#5D61BB
accent
#26C620
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E2DF92

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

Preview Lab → · Contrast checker → · Palette generator →

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