#E2DF34#E2DF34

#E2DF34 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 87.9% C 0.177 H 108.5°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#E2DF34
RGBrgb(226, 223, 52)
HSLhsl(59, 75%, 55%)
HSVhsv(59, 77%, 89%)
CMYKcmyk(0%, 1.3%, 77%, 11.4%)
CIE-LABlab(86.60, -17.23, 77.10)
CIE-LCHlch(86.60, 79.00, 102.60°)
OKLaboklab(87.86% -0.0561 0.1678)
OKLCHoklch(87.86% 0.177 108.5)
XYZxyz(58.3739, 69.1940, 13.5290)
Luminance0.6919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF34 #3437E2
analogous
#E28834 #E2DF34 #8EE234
triadic
#E2DF34 #34E2DF #DF34E2
tetradic
#E2DF34 #34E288 #3437E2 #E2348E
square
#E2DF34 #34E288 #3437E2 #E2348E
split-complementary
#E2DF34 #348EE2 #8834E2
monochromatic
#888613 #BEBB1B #E2DF34 #EAE76A #F1F09F

Accessibility & contrast

On white

1.42
#E2DF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#E2DF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF34
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF34#FFFFFF#000000##000000
##E2DF341.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D600
Deuteranopia (green-blind)
#F4DB43
Tritanopia (blue-blind)
#F2D0C0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2df34;
/* rgb */ color: rgb(226, 223, 52);
/* oklch */ color: oklch(87.9% 0.177 108.5);
Tailwind
colors: {
  custom: {
    50: '#efe87a',
    500: '#e2df34',
    950: '#000000',
  },
}
SCSS
$custom: #e2df34;
$custom-light: #efe87a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df34",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 52
  },
  "hsl": {
    "h": 58.966,
    "s": 75,
    "l": 54.51
  },
  "oklch": {
    "l": 0.87858,
    "c": 0.17688,
    "h": 108.5
  },
  "luminance": 0.69192
}

Semantic roles & 50–950 ramp

primary
#E2DF34
secondary
#2C2E8E
accent
#39F236
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #E2DF34

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

Preview Lab → · Contrast checker → · Palette generator →

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