#D6C951#D6C951

#D6C951 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.140 H 103.1°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#D6C951
RGBrgb(214, 201, 81)
HSLhsl(54, 62%, 58%)
HSVhsv(54, 62%, 84%)
CMYKcmyk(0%, 6.1%, 62.1%, 16.1%)
CIE-LABlab(79.99, -9.84, 59.78)
CIE-LCHlch(79.99, 60.59, 99.35°)
OKLaboklab(82.41% -0.0318 0.1363)
OKLCHoklch(82.41% 0.14 103.1)
XYZxyz(50.1053, 56.6654, 16.0812)
Luminance0.5666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C951 #515ED6
analogous
#D68651 #D6C951 #A1D651
triadic
#D6C951 #51D6C9 #C951D6
tetradic
#D6C951 #51D686 #515ED6 #D651A1
square
#D6C951 #51D686 #515ED6 #D651A1
split-complementary
#D6C951 #51A1D6 #8651D6
monochromatic
#8C8121 #BDAF2D #D6C951 #E2D883 #EDE8B4

Accessibility & contrast

On white

1.70
#D6C951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#D6C951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C951
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C951#FFFFFF#000000##000000
##D6C9511.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC343
Deuteranopia (green-blind)
#DEC958
Tritanopia (blue-blind)
#E5BCB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d6c951;
/* rgb */ color: rgb(214, 201, 81);
/* oklch */ color: oklch(82.4% 0.140 103.1);
Tailwind
colors: {
  custom: {
    50: '#e6d987',
    500: '#d6c951',
    950: '#000000',
  },
}
SCSS
$custom: #d6c951;
$custom-light: #e6d987;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c951",
  "rgb": {
    "r": 214,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 54.135,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82413,
    "c": 0.14,
    "h": 103.1
  },
  "luminance": 0.56664
}

Semantic roles & 50–950 ramp

primary
#D6C951
secondary
#3A4292
accent
#53E543
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D6C951

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

Preview Lab → · Contrast checker → · Palette generator →

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