#E2DC4B#E2DC4B

#E2DC4B is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.4% C 0.161 H 107.0°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#E2DC4B
RGBrgb(226, 220, 75)
HSLhsl(58, 72%, 59%)
HSVhsv(58, 67%, 89%)
CMYKcmyk(0%, 2.7%, 66.8%, 11.4%)
CIE-LABlab(85.94, -14.74, 68.73)
CIE-LCHlch(85.94, 70.29, 102.10°)
OKLaboklab(87.37% -0.047 0.154)
OKLCHoklch(87.37% 0.161 107)
XYZxyz(58.2294, 67.8651, 16.6872)
Luminance0.6786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DC4B #4B51E2
analogous
#E2914B #E2DC4B #9DE24B
triadic
#E2DC4B #4BE2DC #DC4BE2
tetradic
#E2DC4B #4BE291 #4B51E2 #E24B9D
square
#E2DC4B #4BE291 #4B51E2 #E24B9D
split-complementary
#E2DC4B #4B9DE2 #914BE2
monochromatic
#9A9519 #CFC821 #E2DC4B #EAE680 #F3F0B4

Accessibility & contrast

On white

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

On black

14.57
#E2DC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DC4B
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DC4B#FFFFFF#000000##000000
##E2DC4B1.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED436
Deuteranopia (green-blind)
#F1DA55
Tritanopia (blue-blind)
#F2CEBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e2dc4b;
/* rgb */ color: rgb(226, 220, 75);
/* oklch */ color: oklch(87.4% 0.161 107.0);
Tailwind
colors: {
  custom: {
    50: '#efe685',
    500: '#e2dc4b',
    950: '#000000',
  },
}
SCSS
$custom: #e2dc4b;
$custom-light: #efe685;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dc4b",
  "rgb": {
    "r": 226,
    "g": 220,
    "b": 75
  },
  "hsl": {
    "h": 57.616,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.87372,
    "c": 0.16101,
    "h": 107
  },
  "luminance": 0.67863
}

Semantic roles & 50–950 ramp

primary
#E2DC4B
secondary
#34389E
accent
#40EF39
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2DC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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