#D6D954#D6D954

#D6D954 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 85.8% C 0.153 H 110.5°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#D6D954
RGBrgb(214, 217, 84)
HSLhsl(61, 64%, 59%)
HSVhsv(61, 61%, 85%)
CMYKcmyk(1.4%, 0%, 61.3%, 14.9%)
CIE-LABlab(84.26, -17.66, 63.10)
CIE-LCHlch(84.26, 65.53, 105.63°)
OKLaboklab(85.82% -0.0536 0.1438)
OKLCHoklch(85.82% 0.153 110.5)
XYZxyz(54.1462, 64.5633, 17.9955)
Luminance0.6456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D954 #5754D9
analogous
#D99A54 #D6D954 #94D954
triadic
#D6D954 #54D6D9 #D954D6
tetradic
#D6D954 #54D99A #5754D9 #D95494
square
#D6D954 #54D99A #5754D9 #D95494
split-complementary
#D6D954 #5494D9 #9A54D9
monochromatic
#909220 #C1C42C #D6D954 #E2E486 #EEEFB8

Accessibility & contrast

On white

1.51
#D6D954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#D6D954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D954
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D954#FFFFFF#000000##000000
##D6D9541.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D044
Deuteranopia (green-blind)
#EAD45C
Tritanopia (blue-blind)
#E4CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d6d954;
/* rgb */ color: rgb(214, 217, 84);
/* oklch */ color: oklch(85.8% 0.153 110.5);
Tailwind
colors: {
  custom: {
    50: '#e6e48a',
    500: '#d6d954',
    950: '#000000',
  },
}
SCSS
$custom: #d6d954;
$custom-light: #e6e48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d954",
  "rgb": {
    "r": 214,
    "g": 217,
    "b": 84
  },
  "hsl": {
    "h": 61.353,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8582,
    "c": 0.15347,
    "h": 110.5
  },
  "luminance": 0.64562
}

Semantic roles & 50–950 ramp

primary
#D6D954
secondary
#3C3A97
accent
#41E745
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D6D954

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

Preview Lab → · Contrast checker → · Palette generator →

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