#E6DC5A#E6DC5A

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

Color values

HEX#E6DC5A
RGBrgb(230, 220, 90)
HSLhsl(56, 74%, 63%)
HSVhsv(56, 61%, 90%)
CMYKcmyk(0%, 4.3%, 60.9%, 9.8%)
CIE-LABlab(86.38, -12.20, 63.25)
CIE-LCHlch(86.38, 64.42, 100.92°)
OKLaboklab(87.84% -0.0385 0.1446)
OKLCHoklch(87.84% 0.15 104.9)
XYZxyz(60.0739, 68.7497, 19.7765)
Luminance0.6875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6DC5A #5A64E6
analogous
#E6965A #E6DC5A #AAE65A
triadic
#E6DC5A #5AE6DC #DC5AE6
tetradic
#E6DC5A #5AE696 #5A64E6 #E65AAA
square
#E6DC5A #5AE696 #5A64E6 #E65AAA
split-complementary
#E6DC5A #5AAAE6 #965AE6
monochromatic
#ACA11A #DED125 #E6DC5A #EEE78F #F6F3C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E6DC5A#FFFFFF#000000##000000
##E6DC5A1.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)
#EED54B
Deuteranopia (green-blind)
#F1DB61
Tritanopia (blue-blind)
#F6CEC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e6dc5a;
/* rgb */ color: rgb(230, 220, 90);
/* oklch */ color: oklch(87.8% 0.150 104.9);
Tailwind
colors: {
  custom: {
    50: '#f1e68e',
    500: '#e6dc5a',
    950: '#000000',
  },
}
SCSS
$custom: #e6dc5a;
$custom-light: #f1e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e6dc5a",
  "rgb": {
    "r": 230,
    "g": 220,
    "b": 90
  },
  "hsl": {
    "h": 55.714,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.87838,
    "c": 0.14958,
    "h": 104.9
  },
  "luminance": 0.68748
}

Semantic roles & 50–950 ramp

primary
#E6DC5A
secondary
#3740AD
accent
#1ED610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E6DC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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