#E6DC5B#E6DC5B

#E6DC5B is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.8% C 0.149 H 104.9°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#E6DC5B
RGBrgb(230, 220, 91)
HSLhsl(56, 74%, 63%)
HSVhsv(56, 60%, 90%)
CMYKcmyk(0%, 4.3%, 60.4%, 9.8%)
CIE-LABlab(86.39, -12.13, 62.84)
CIE-LCHlch(86.39, 64.00, 100.93°)
OKLaboklab(87.85% -0.0382 0.1438)
OKLCHoklch(87.85% 0.149 104.9)
XYZxyz(60.1168, 68.7668, 20.0021)
Luminance0.6876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6DC5B #5B65E6
analogous
#E6965B #E6DC5B #ABE65B
triadic
#E6DC5B #5BE6DC #DC5BE6
tetradic
#E6DC5B #5BE696 #5B65E6 #E65BAB
square
#E6DC5B #5BE696 #5B65E6 #E65BAB
split-complementary
#E6DC5B #5BABE6 #965BE6
monochromatic
#ACA21A #DED126 #E6DC5B #EEE790 #F6F3C5

Accessibility & contrast

On white

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

On black

14.75
#E6DC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6DC5B
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6DC5B#FFFFFF#000000##000000
##E6DC5B1.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54C
Deuteranopia (green-blind)
#F1DB62
Tritanopia (blue-blind)
#F6CEC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e6dc5b;
/* rgb */ color: rgb(230, 220, 91);
/* oklch */ color: oklch(87.8% 0.149 104.9);
Tailwind
colors: {
  custom: {
    50: '#f1e68e',
    500: '#e6dc5b',
    950: '#000000',
  },
}
SCSS
$custom: #e6dc5b;
$custom-light: #f1e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e6dc5b",
  "rgb": {
    "r": 230,
    "g": 220,
    "b": 91
  },
  "hsl": {
    "h": 55.683,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.87848,
    "c": 0.14879,
    "h": 104.9
  },
  "luminance": 0.68765
}

Semantic roles & 50–950 ramp

primary
#E6DC5B
secondary
#3840AE
accent
#1ED610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E6DC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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