#E2DB4A#E2DB4A

#E2DB4A is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.2% C 0.161 H 106.6°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#E2DB4A
RGBrgb(226, 219, 74)
HSLhsl(57, 72%, 59%)
HSVhsv(57, 67%, 89%)
CMYKcmyk(0%, 3.1%, 67.3%, 11.4%)
CIE-LABlab(85.67, -14.29, 68.83)
CIE-LCHlch(85.67, 70.30, 101.73°)
OKLaboklab(87.16% -0.0459 0.1541)
OKLCHoklch(87.16% 0.161 106.6)
XYZxyz(57.9337, 67.3282, 16.4212)
Luminance0.6733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB4A #4A51E2
analogous
#E28F4A #E2DB4A #9DE24A
triadic
#E2DB4A #4AE2DB #DB4AE2
tetradic
#E2DB4A #4AE28F #4A51E2 #E24A9D
square
#E2DB4A #4AE28F #4A51E2 #E24A9D
split-complementary
#E2DB4A #4A9DE2 #8F4AE2
monochromatic
#999319 #CEC621 #E2DB4A #EAE57F #F3F0B3

Accessibility & contrast

On white

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

On black

14.47
#E2DB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DB4A
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DB4A#FFFFFF#000000##000000
##E2DB4A1.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD335
Deuteranopia (green-blind)
#F0D954
Tritanopia (blue-blind)
#F2CDBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2db4a;
/* rgb */ color: rgb(226, 219, 74);
/* oklch */ color: oklch(87.2% 0.161 106.6);
Tailwind
colors: {
  custom: {
    50: '#efe584',
    500: '#e2db4a',
    950: '#000000',
  },
}
SCSS
$custom: #e2db4a;
$custom-light: #efe584;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db4a",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 74
  },
  "hsl": {
    "h": 57.237,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.87155,
    "c": 0.16074,
    "h": 106.6
  },
  "luminance": 0.67326
}

Semantic roles & 50–950 ramp

primary
#E2DB4A
secondary
#33389D
accent
#41EF39
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2DB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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