#E2DA5B#E2DA5B

#E2DA5B is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.1% C 0.147 H 105.7°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#E2DA5B
RGBrgb(226, 218, 91)
HSLhsl(56, 70%, 62%)
HSVhsv(56, 60%, 89%)
CMYKcmyk(0%, 3.5%, 59.7%, 11.4%)
CIE-LABlab(85.54, -12.78, 61.82)
CIE-LCHlch(85.54, 63.12, 101.68°)
OKLaboklab(87.09% -0.0398 0.1417)
OKLCHoklch(87.09% 0.147 105.7)
XYZxyz(58.3257, 67.0688, 19.7687)
Luminance0.6707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DA5B #5B63E2
analogous
#E2965B #E2DA5B #A7E25B
triadic
#E2DA5B #5BE2DA #DA5BE2
tetradic
#E2DA5B #5BE296 #5B63E2 #E25BA7
square
#E2DA5B #5BE296 #5B63E2 #E25BA7
split-complementary
#E2DA5B #5BA7E2 #965BE2
monochromatic
#A59D1D #D9CE27 #E2DA5B #EBE68F #F4F1C3

Accessibility & contrast

On white

1.46
#E2DA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#E2DA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DA5B
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DA5B#FFFFFF#000000##000000
##E2DA5B1.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD34D
Deuteranopia (green-blind)
#EED862
Tritanopia (blue-blind)
#F1CDBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2da5b;
/* rgb */ color: rgb(226, 218, 91);
/* oklch */ color: oklch(87.1% 0.147 105.7);
Tailwind
colors: {
  custom: {
    50: '#eee58e',
    500: '#e2da5b',
    950: '#000000',
  },
}
SCSS
$custom: #e2da5b;
$custom-light: #eee58e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2da5b",
  "rgb": {
    "r": 226,
    "g": 218,
    "b": 91
  },
  "hsl": {
    "h": 56.444,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.87093,
    "c": 0.14721,
    "h": 105.7
  },
  "luminance": 0.67067
}

Semantic roles & 50–950 ramp

primary
#E2DA5B
secondary
#3940A8
accent
#1FD214
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2DA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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