#E2DF5E#E2DF5E

#E2DF5E is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.2% C 0.150 H 107.9°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#E2DF5E
RGBrgb(226, 223, 94)
HSLhsl(59, 69%, 63%)
HSVhsv(59, 58%, 89%)
CMYKcmyk(0%, 1.3%, 58.4%, 11.4%)
CIE-LABlab(86.88, -15.05, 62.00)
CIE-LCHlch(86.88, 63.80, 103.65°)
OKLaboklab(88.17% -0.0459 0.1425)
OKLCHoklch(88.17% 0.15 107.9)
XYZxyz(59.7739, 69.7540, 20.9027)
Luminance0.6975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF5E #5E61E2
analogous
#E29D5E #E2DF5E #A3E25E
triadic
#E2DF5E #5EE2DF #DF5EE2
tetradic
#E2DF5E #5EE29D #5E61E2 #E25EA3
square
#E2DF5E #5EE29D #5E61E2 #E25EA3
split-complementary
#E2DF5E #5EA3E2 #9D5EE2
monochromatic
#A7A41E #D9D52A #E2DF5E #EBE992 #F5F4C6

Accessibility & contrast

On white

1.40
#E2DF5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.95
#E2DF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF5E
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF5E#FFFFFF#000000##000000
##E2DF5E1.001.4014.9514.95
#FFFFFF1.401.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D750
Deuteranopia (green-blind)
#F2DC65
Tritanopia (blue-blind)
#F1D2C3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2df5e;
/* rgb */ color: rgb(226, 223, 94);
/* oklch */ color: oklch(88.2% 0.150 107.9);
Tailwind
colors: {
  custom: {
    50: '#eee890',
    500: '#e2df5e',
    950: '#000000',
  },
}
SCSS
$custom: #e2df5e;
$custom-light: #eee890;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df5e",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 94
  },
  "hsl": {
    "h": 58.636,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.88166,
    "c": 0.14972,
    "h": 107.9
  },
  "luminance": 0.69752
}

Semantic roles & 50–950 ramp

primary
#E2DF5E
secondary
#3B3DAA
accent
#18D114
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E2DF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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