#E2DB5A#E2DB5A

#E2DB5A is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.3% C 0.149 H 106.2°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#E2DB5A
RGBrgb(226, 219, 90)
HSLhsl(57, 70%, 62%)
HSVhsv(57, 60%, 89%)
CMYKcmyk(0%, 3.1%, 60.2%, 11.4%)
CIE-LABlab(85.79, -13.34, 62.52)
CIE-LCHlch(85.79, 63.93, 102.05°)
OKLaboklab(87.29% -0.0415 0.1431)
OKLCHoklch(87.29% 0.149 106.2)
XYZxyz(58.5430, 67.5719, 19.6297)
Luminance0.6757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB5A #5A61E2
analogous
#E2975A #E2DB5A #A5E25A
triadic
#E2DB5A #5AE2DB #DB5AE2
tetradic
#E2DB5A #5AE297 #5A61E2 #E25AA5
square
#E2DB5A #5AE297 #5A61E2 #E25AA5
split-complementary
#E2DB5A #5AA5E2 #975AE2
monochromatic
#A59E1D #D9D026 #E2DB5A #EBE68E #F4F2C2

Accessibility & contrast

On white

1.45
#E2DB5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#E2DB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DB5A
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DB5A#FFFFFF#000000##000000
##E2DB5A1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34B
Deuteranopia (green-blind)
#EFD961
Tritanopia (blue-blind)
#F1CEC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2db5a;
/* rgb */ color: rgb(226, 219, 90);
/* oklch */ color: oklch(87.3% 0.149 106.2);
Tailwind
colors: {
  custom: {
    50: '#eee58e',
    500: '#e2db5a',
    950: '#000000',
  },
}
SCSS
$custom: #e2db5a;
$custom-light: #eee58e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db5a",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 90
  },
  "hsl": {
    "h": 56.912,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.87291,
    "c": 0.14898,
    "h": 106.2
  },
  "luminance": 0.6757
}

Semantic roles & 50–950 ramp

primary
#E2DB5A
secondary
#393FA7
accent
#1DD213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2DB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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