#E6DC5C#E6DC5C

#E6DC5C is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.9% C 0.148 H 104.8°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#E6DC5C
RGBrgb(230, 220, 92)
HSLhsl(56, 73%, 63%)
HSVhsv(56, 60%, 90%)
CMYKcmyk(0%, 4.3%, 60%, 9.8%)
CIE-LABlab(86.40, -12.07, 62.42)
CIE-LCHlch(86.40, 63.58, 100.94°)
OKLaboklab(87.86% -0.0379 0.1431)
OKLCHoklch(87.86% 0.148 104.8)
XYZxyz(60.1602, 68.7842, 20.2308)
Luminance0.6878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6DC5C #5C66E6
analogous
#E6975C #E6DC5C #ABE65C
triadic
#E6DC5C #5CE6DC #DC5CE6
tetradic
#E6DC5C #5CE697 #5C66E6 #E65CAB
square
#E6DC5C #5CE697 #5C66E6 #E65CAB
split-complementary
#E6DC5C #5CABE6 #975CE6
monochromatic
#ADA21B #DED127 #E6DC5C #EEE791 #F6F3C6

Accessibility & contrast

On white

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

On black

14.76
#E6DC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6DC5C
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6DC5C#FFFFFF#000000##000000
##E6DC5C1.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e6dc5c;
/* rgb */ color: rgb(230, 220, 92);
/* oklch */ color: oklch(87.9% 0.148 104.8);
Tailwind
colors: {
  custom: {
    50: '#f1e68f',
    500: '#e6dc5c',
    950: '#000000',
  },
}
SCSS
$custom: #e6dc5c;
$custom-light: #f1e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#e6dc5c",
  "rgb": {
    "r": 230,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 55.652,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.87857,
    "c": 0.14798,
    "h": 104.8
  },
  "luminance": 0.68782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E6DC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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