#E2DB34#E2DB34

#E2DB34 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.0% C 0.173 H 107.0°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#E2DB34
RGBrgb(226, 219, 52)
HSLhsl(58, 75%, 55%)
HSVhsv(58, 77%, 89%)
CMYKcmyk(0%, 3.1%, 77%, 11.4%)
CIE-LABlab(85.55, -15.27, 76.15)
CIE-LCHlch(85.55, 77.67, 101.34°)
OKLaboklab(87.02% -0.0506 0.1657)
OKLCHoklch(87.02% 0.173 107)
XYZxyz(57.3178, 67.0818, 13.1770)
Luminance0.6708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB34 #343BE2
analogous
#E28434 #E2DB34 #92E234
triadic
#E2DB34 #34E2DB #DB34E2
tetradic
#E2DB34 #34E284 #343BE2 #E23492
square
#E2DB34 #34E284 #343BE2 #E23492
split-complementary
#E2DB34 #3492E2 #8434E2
monochromatic
#888313 #BEB71B #E2DB34 #EAE46A #F1EE9F

Accessibility & contrast

On white

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

On black

14.42
#E2DB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DB34
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DB34#FFFFFF#000000##000000
##E2DB341.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED200
Deuteranopia (green-blind)
#F1D942
Tritanopia (blue-blind)
#F3CCBC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2db34;
/* rgb */ color: rgb(226, 219, 52);
/* oklch */ color: oklch(87.0% 0.173 107.0);
Tailwind
colors: {
  custom: {
    50: '#efe57a',
    500: '#e2db34',
    950: '#000000',
  },
}
SCSS
$custom: #e2db34;
$custom-light: #efe57a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db34",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 52
  },
  "hsl": {
    "h": 57.586,
    "s": 75,
    "l": 54.51
  },
  "oklch": {
    "l": 0.87016,
    "c": 0.17329,
    "h": 107
  },
  "luminance": 0.6708
}

Semantic roles & 50–950 ramp

primary
#E2DB34
secondary
#2C308E
accent
#3EF236
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #E2DB34

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

Preview Lab → · Contrast checker → · Palette generator →

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