#E2DC5D#E2DC5D

#E2DC5D is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.5% C 0.148 H 106.5°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#E2DC5D
RGBrgb(226, 220, 93)
HSLhsl(57, 70%, 63%)
HSVhsv(57, 59%, 89%)
CMYKcmyk(0%, 2.7%, 58.8%, 11.4%)
CIE-LABlab(86.08, -13.64, 61.55)
CIE-LCHlch(86.08, 63.04, 102.49°)
OKLaboklab(87.53% -0.042 0.1414)
OKLCHoklch(87.53% 0.148 106.5)
XYZxyz(58.9349, 68.1473, 20.4031)
Luminance0.6815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DC5D #5D63E2
analogous
#E2995D #E2DC5D #A6E25D
triadic
#E2DC5D #5DE2DC #DC5DE2
tetradic
#E2DC5D #5DE299 #5D63E2 #E25DA6
square
#E2DC5D #5DE299 #5D63E2 #E25DA6
split-complementary
#E2DC5D #5DA6E2 #995DE2
monochromatic
#A7A11E #D9D129 #E2DC5D #EBE791 #F5F2C5

Accessibility & contrast

On white

1.44
#E2DC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#E2DC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DC5D
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DC5D#FFFFFF#000000##000000
##E2DC5D1.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44F
Deuteranopia (green-blind)
#F0DA64
Tritanopia (blue-blind)
#F1CFC1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e2dc5d;
/* rgb */ color: rgb(226, 220, 93);
/* oklch */ color: oklch(87.5% 0.148 106.5);
Tailwind
colors: {
  custom: {
    50: '#eee690',
    500: '#e2dc5d',
    950: '#000000',
  },
}
SCSS
$custom: #e2dc5d;
$custom-light: #eee690;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dc5d",
  "rgb": {
    "r": 226,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 57.293,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.87529,
    "c": 0.14754,
    "h": 106.5
  },
  "luminance": 0.68145
}

Semantic roles & 50–950 ramp

primary
#E2DC5D
secondary
#3A3FA9
accent
#1CD214
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2DC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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