#E6DC5F#E6DC5F

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

Color values

HEX#E6DC5F
RGBrgb(230, 220, 95)
HSLhsl(56, 73%, 64%)
HSVhsv(56, 59%, 90%)
CMYKcmyk(0%, 4.3%, 58.7%, 9.8%)
CIE-LABlab(86.42, -11.86, 61.16)
CIE-LCHlch(86.42, 62.30, 100.98°)
OKLaboklab(87.89% -0.037 0.1407)
OKLCHoklch(87.89% 0.146 104.7)
XYZxyz(60.2939, 68.8377, 20.9352)
Luminance0.6884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6DC5F #5F69E6
analogous
#E6985F #E6DC5F #ACE65F
triadic
#E6DC5F #5FE6DC #DC5FE6
tetradic
#E6DC5F #5FE698 #5F69E6 #E65FAC
square
#E6DC5F #5FE698 #5F69E6 #E65FAC
split-complementary
#E6DC5F #5FACE6 #985FE6
monochromatic
#AFA41B #DED02A #E6DC5F #EEE894 #F7F3C9

Accessibility & contrast

On white

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

On black

14.77
#E6DC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6DC5F
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6DC5F#FFFFFF#000000##000000
##E6DC5F1.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD551
Deuteranopia (green-blind)
#F1DB66
Tritanopia (blue-blind)
#F6CFC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e6dc5f;
/* rgb */ color: rgb(230, 220, 95);
/* oklch */ color: oklch(87.9% 0.146 104.7);
Tailwind
colors: {
  custom: {
    50: '#f1e691',
    500: '#e6dc5f',
    950: '#000000',
  },
}
SCSS
$custom: #e6dc5f;
$custom-light: #f1e691;
$custom-dark: #000000;
JSON
{
  "hex": "#e6dc5f",
  "rgb": {
    "r": 230,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 55.556,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.87887,
    "c": 0.14553,
    "h": 104.7
  },
  "luminance": 0.68836
}

Semantic roles & 50–950 ramp

primary
#E6DC5F
secondary
#3942B0
accent
#1FD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E6DC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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