#E2DF2D#E2DF2D

#E2DF2D is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 87.8% C 0.180 H 108.6°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#E2DF2D
RGBrgb(226, 223, 45)
HSLhsl(59, 76%, 53%)
HSVhsv(59, 80%, 89%)
CMYKcmyk(0%, 1.3%, 80.1%, 11.4%)
CIE-LABlab(86.57, -17.46, 78.98)
CIE-LCHlch(86.57, 80.88, 102.47°)
OKLaboklab(87.83% -0.0572 0.1706)
OKLCHoklch(87.83% 0.18 108.6)
XYZxyz(58.2277, 69.1355, 12.7594)
Luminance0.6913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF2D #2D30E2
analogous
#E2852D #E2DF2D #8AE22D
triadic
#E2DF2D #2DE2DF #DF2DE2
tetradic
#E2DF2D #2DE285 #2D30E2 #E22D8A
square
#E2DF2D #2DE285 #2D30E2 #E22D8A
split-complementary
#E2DF2D #2D8AE2 #852DE2
monochromatic
#838112 #B8B619 #E2DF2D #E9E763 #F1EF99

Accessibility & contrast

On white

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

On black

14.83
#E2DF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF2D
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF2D#FFFFFF#000000##000000
##E2DF2D1.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2df2d;
/* rgb */ color: rgb(226, 223, 45);
/* oklch */ color: oklch(87.8% 0.180 108.6);
Tailwind
colors: {
  custom: {
    50: '#f0e877',
    500: '#e2df2d',
    950: '#000000',
  },
}
SCSS
$custom: #e2df2d;
$custom-light: #f0e877;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df2d",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 45
  },
  "hsl": {
    "h": 59.006,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.87826,
    "c": 0.17991,
    "h": 108.6
  },
  "luminance": 0.69134
}

Semantic roles & 50–950 ramp

primary
#E2DF2D
secondary
#2A2C89
accent
#39F235
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #E2DF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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