#E6D951#E6D951

#E6D951 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.1% C 0.154 H 103.8°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#E6D951
RGBrgb(230, 217, 81)
HSLhsl(55, 75%, 61%)
HSVhsv(55, 65%, 90%)
CMYKcmyk(0%, 5.7%, 64.8%, 9.8%)
CIE-LABlab(85.53, -11.25, 66.06)
CIE-LCHlch(85.53, 67.01, 99.67°)
OKLaboklab(87.14% -0.0368 0.1492)
OKLCHoklch(87.14% 0.154 103.8)
XYZxyz(58.9335, 67.0450, 17.6196)
Luminance0.6704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D951 #515EE6
analogous
#E68E51 #E6D951 #A8E651
triadic
#E6D951 #51E6D9 #D951E6
tetradic
#E6D951 #51E68E #515EE6 #E651A8
square
#E6D951 #51E68E #515EE6 #E651A8
split-complementary
#E6D951 #51A8E6 #8E51E6
monochromatic
#A59918 #DACA1F #E6D951 #EEE587 #F5F0BC

Accessibility & contrast

On white

1.46
#E6D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#E6D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D951
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D951#FFFFFF#000000##000000
##E6D9511.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23F
Deuteranopia (green-blind)
#F0D959
Tritanopia (blue-blind)
#F6CBBD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e6d951;
/* rgb */ color: rgb(230, 217, 81);
/* oklch */ color: oklch(87.1% 0.154 103.8);
Tailwind
colors: {
  custom: {
    50: '#f1e488',
    500: '#e6d951',
    950: '#000000',
  },
}
SCSS
$custom: #e6d951;
$custom-light: #f1e488;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d951",
  "rgb": {
    "r": 230,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 54.765,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87137,
    "c": 0.15365,
    "h": 103.8
  },
  "luminance": 0.67043
}

Semantic roles & 50–950 ramp

primary
#E6D951
secondary
#343EA7
accent
#20D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E6D951

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

Preview Lab → · Contrast checker → · Palette generator →

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