#D6CD51#D6CD51

#D6CD51 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.144 H 105.2°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#D6CD51
RGBrgb(214, 205, 81)
HSLhsl(56, 62%, 58%)
HSVhsv(56, 62%, 84%)
CMYKcmyk(0%, 4.2%, 62.1%, 16.1%)
CIE-LABlab(81.05, -11.87, 60.92)
CIE-LCHlch(81.05, 62.06, 101.03°)
OKLaboklab(83.25% -0.0376 0.1387)
OKLCHoklch(83.25% 0.144 105.2)
XYZxyz(51.0499, 58.5546, 16.3961)
Luminance0.5855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CD51 #515AD6
analogous
#D68B51 #D6CD51 #9CD651
triadic
#D6CD51 #51D6CD #CD51D6
tetradic
#D6CD51 #51D68B #515AD6 #D6519C
square
#D6CD51 #51D68B #515AD6 #D6519C
split-complementary
#D6CD51 #519CD6 #8B51D6
monochromatic
#8C8421 #BDB32D #D6CD51 #E2DB83 #EDE9B4

Accessibility & contrast

On white

1.65
#D6CD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#D6CD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CD51
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CD51#FFFFFF#000000##000000
##D6CD511.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC642
Deuteranopia (green-blind)
#E1CC58
Tritanopia (blue-blind)
#E5C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d6cd51;
/* rgb */ color: rgb(214, 205, 81);
/* oklch */ color: oklch(83.3% 0.144 105.2);
Tailwind
colors: {
  custom: {
    50: '#e6dc87',
    500: '#d6cd51',
    950: '#000000',
  },
}
SCSS
$custom: #d6cd51;
$custom-light: #e6dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cd51",
  "rgb": {
    "r": 214,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 55.94,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83252,
    "c": 0.14374,
    "h": 105.2
  },
  "luminance": 0.58553
}

Semantic roles & 50–950 ramp

primary
#D6CD51
secondary
#3A4092
accent
#4EE543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D6CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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