#E2DF5F#E2DF5F

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

Color values

HEX#E2DF5F
RGBrgb(226, 223, 95)
HSLhsl(59, 69%, 63%)
HSVhsv(59, 58%, 89%)
CMYKcmyk(0%, 1.3%, 58%, 11.4%)
CIE-LABlab(86.89, -14.98, 61.58)
CIE-LCHlch(86.89, 63.37, 103.68°)
OKLaboklab(88.18% -0.0456 0.1417)
OKLCHoklch(88.18% 0.149 107.8)
XYZxyz(59.8191, 69.7721, 21.1405)
Luminance0.6977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF5F #5F62E2
analogous
#E29D5F #E2DF5F #A3E25F
triadic
#E2DF5F #5FE2DF #DF5FE2
tetradic
#E2DF5F #5FE29D #5F62E2 #E25FA3
square
#E2DF5F #5FE29D #5F62E2 #E25FA3
split-complementary
#E2DF5F #5FA3E2 #9D5FE2
monochromatic
#A8A51E #D9D52B #E2DF5F #EBE993 #F5F4C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2DF5F#FFFFFF#000000##000000
##E2DF5F1.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)
#F0D751
Deuteranopia (green-blind)
#F2DC66
Tritanopia (blue-blind)
#F1D2C3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2df5f;
/* rgb */ color: rgb(226, 223, 95);
/* oklch */ color: oklch(88.2% 0.149 107.8);
Tailwind
colors: {
  custom: {
    50: '#eee891',
    500: '#e2df5f',
    950: '#000000',
  },
}
SCSS
$custom: #e2df5f;
$custom-light: #eee891;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df5f",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 58.626,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.88176,
    "c": 0.14889,
    "h": 107.8
  },
  "luminance": 0.6977
}

Semantic roles & 50–950 ramp

primary
#E2DF5F
secondary
#3B3EAA
accent
#19D114
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E2DF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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