#E2DA5A#E2DA5A

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

Color values

HEX#E2DA5A
RGBrgb(226, 218, 90)
HSLhsl(56, 70%, 62%)
HSVhsv(56, 60%, 89%)
CMYKcmyk(0%, 3.5%, 60.2%, 11.4%)
CIE-LABlab(85.53, -12.84, 62.23)
CIE-LCHlch(85.53, 63.55, 101.66°)
OKLaboklab(87.08% -0.0401 0.1425)
OKLCHoklch(87.08% 0.148 105.7)
XYZxyz(58.2829, 67.0517, 19.5430)
Luminance0.6705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DA5A #5A62E2
analogous
#E2965A #E2DA5A #A6E25A
triadic
#E2DA5A #5AE2DA #DA5AE2
tetradic
#E2DA5A #5AE296 #5A62E2 #E25AA6
square
#E2DA5A #5AE296 #5A62E2 #E25AA6
split-complementary
#E2DA5A #5AA6E2 #965AE2
monochromatic
#A59D1D #D9CE26 #E2DA5A #EBE68E #F4F1C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2DA5A#FFFFFF#000000##000000
##E2DA5A1.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)
#EBD34B
Deuteranopia (green-blind)
#EFD861
Tritanopia (blue-blind)
#F1CDBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2da5a;
/* rgb */ color: rgb(226, 218, 90);
/* oklch */ color: oklch(87.1% 0.148 105.7);
Tailwind
colors: {
  custom: {
    50: '#eee58e',
    500: '#e2da5a',
    950: '#000000',
  },
}
SCSS
$custom: #e2da5a;
$custom-light: #eee58e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2da5a",
  "rgb": {
    "r": 226,
    "g": 218,
    "b": 90
  },
  "hsl": {
    "h": 56.471,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.87083,
    "c": 0.14801,
    "h": 105.7
  },
  "luminance": 0.6705
}

Semantic roles & 50–950 ramp

primary
#E2DA5A
secondary
#3940A7
accent
#1FD213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2DA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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