#E2DB52#E2DB52

#E2DB52 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.2% C 0.155 H 106.4°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#E2DB52
RGBrgb(226, 219, 82)
HSLhsl(57, 71%, 60%)
HSVhsv(57, 64%, 89%)
CMYKcmyk(0%, 3.1%, 63.7%, 11.4%)
CIE-LABlab(85.73, -13.84, 65.76)
CIE-LCHlch(85.73, 67.21, 101.89°)
OKLaboklab(87.22% -0.0438 0.1488)
OKLCHoklch(87.22% 0.155 106.4)
XYZxyz(58.2206, 67.4429, 17.9320)
Luminance0.6744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB52 #5259E2
analogous
#E29352 #E2DB52 #A1E252
triadic
#E2DB52 #52E2DB #DB52E2
tetradic
#E2DB52 #52E293 #5259E2 #E252A1
square
#E2DB52 #52E293 #5259E2 #E252A1
split-complementary
#E2DB52 #52A1E2 #9352E2
monochromatic
#9F991B #D3CB23 #E2DB52 #EBE686 #F4F1BB

Accessibility & contrast

On white

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

On black

14.49
#E2DB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DB52
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DB52#FFFFFF#000000##000000
##E2DB521.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD340
Deuteranopia (green-blind)
#F0D95A
Tritanopia (blue-blind)
#F2CDBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2db52;
/* rgb */ color: rgb(226, 219, 82);
/* oklch */ color: oklch(87.2% 0.155 106.4);
Tailwind
colors: {
  custom: {
    50: '#eee589',
    500: '#e2db52',
    950: '#000000',
  },
}
SCSS
$custom: #e2db52;
$custom-light: #eee589;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db52",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 57.083,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.87219,
    "c": 0.15513,
    "h": 106.4
  },
  "luminance": 0.67441
}

Semantic roles & 50–950 ramp

primary
#E2DB52
secondary
#363BA2
accent
#1CD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2DB52

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

Preview Lab → · Contrast checker → · Palette generator →

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