#D6BD51#D6BD51

#D6BD51 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.9% C 0.130 H 96.3°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#D6BD51
RGBrgb(214, 189, 81)
HSLhsl(49, 62%, 58%)
HSVhsv(49, 62%, 84%)
CMYKcmyk(0%, 11.7%, 62.1%, 16.1%)
CIE-LABlab(76.85, -3.68, 56.37)
CIE-LCHlch(76.85, 56.49, 93.73°)
OKLaboklab(79.92% -0.0142 0.1291)
OKLCHoklch(79.92% 0.13 96.3)
XYZxyz(47.4164, 51.2877, 15.1849)
Luminance0.5129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6BD51 #516AD6
analogous
#D67B51 #D6BD51 #ACD651
triadic
#D6BD51 #51D6BD #BD51D6
tetradic
#D6BD51 #51D67B #516AD6 #D651AC
square
#D6BD51 #51D67B #516AD6 #D651AC
split-complementary
#D6BD51 #51ACD6 #7B51D6
monochromatic
#8C7821 #BDA22D #D6BD51 #E2D083 #EDE3B4

Accessibility & contrast

On white

1.87
#D6BD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#D6BD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6BD51
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6BD51#FFFFFF#000000##000000
##D6BD511.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB945
Deuteranopia (green-blind)
#D5C156
Tritanopia (blue-blind)
#E6B0A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d6bd51;
/* rgb */ color: rgb(214, 189, 81);
/* oklch */ color: oklch(79.9% 0.130 96.3);
Tailwind
colors: {
  custom: {
    50: '#e6d086',
    500: '#d6bd51',
    950: '#000000',
  },
}
SCSS
$custom: #d6bd51;
$custom-light: #e6d086;
$custom-dark: #000000;
JSON
{
  "hex": "#d6bd51",
  "rgb": {
    "r": 214,
    "g": 189,
    "b": 81
  },
  "hsl": {
    "h": 48.722,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79924,
    "c": 0.12988,
    "h": 96.3
  },
  "luminance": 0.51285
}

Semantic roles & 50–950 ramp

primary
#D6BD51
secondary
#3A4A92
accent
#61E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D6BD51

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

Preview Lab → · Contrast checker → · Palette generator →

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