#E6DC51#E6DC51

#E6DC51 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.8% C 0.156 H 105.2°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#E6DC51
RGBrgb(230, 220, 81)
HSLhsl(56, 75%, 61%)
HSVhsv(56, 65%, 90%)
CMYKcmyk(0%, 4.3%, 64.8%, 9.8%)
CIE-LABlab(86.31, -12.75, 66.87)
CIE-LCHlch(86.31, 68.08, 100.79°)
OKLaboklab(87.76% -0.041 0.1509)
OKLCHoklch(87.76% 0.156 105.2)
XYZxyz(59.7138, 68.6056, 17.8797)
Luminance0.6860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6DC51 #515BE6
analogous
#E69151 #E6DC51 #A5E651
triadic
#E6DC51 #51E6DC #DC51E6
tetradic
#E6DC51 #51E691 #515BE6 #E651A5
square
#E6DC51 #51E691 #515BE6 #E651A5
split-complementary
#E6DC51 #51A5E6 #9151E6
monochromatic
#A59B18 #DACE1F #E6DC51 #EEE787 #F5F2BC

Accessibility & contrast

On white

1.43
#E6DC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#E6DC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6DC51
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6DC51#FFFFFF#000000##000000
##E6DC511.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED43F
Deuteranopia (green-blind)
#F2DB5A
Tritanopia (blue-blind)
#F6CEBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e6dc51;
/* rgb */ color: rgb(230, 220, 81);
/* oklch */ color: oklch(87.8% 0.156 105.2);
Tailwind
colors: {
  custom: {
    50: '#f1e689',
    500: '#e6dc51',
    950: '#000000',
  },
}
SCSS
$custom: #e6dc51;
$custom-light: #f1e689;
$custom-dark: #000000;
JSON
{
  "hex": "#e6dc51",
  "rgb": {
    "r": 230,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 55.973,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87758,
    "c": 0.15638,
    "h": 105.2
  },
  "luminance": 0.68603
}

Semantic roles & 50–950 ramp

primary
#E6DC51
secondary
#343CA7
accent
#1CD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E6DC51

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

Preview Lab → · Contrast checker → · Palette generator →

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