#D6BF51#D6BF51

#D6BF51 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.131 H 97.5°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#D6BF51
RGBrgb(214, 191, 81)
HSLhsl(50, 62%, 58%)
HSVhsv(50, 62%, 84%)
CMYKcmyk(0%, 10.7%, 62.1%, 16.1%)
CIE-LABlab(77.37, -4.71, 56.94)
CIE-LCHlch(77.37, 57.14, 94.73°)
OKLaboklab(80.34% -0.0172 0.1303)
OKLCHoklch(80.34% 0.131 97.5)
XYZxyz(47.8496, 52.1540, 15.3293)
Luminance0.5215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6BF51 #5168D6
analogous
#D67C51 #D6BF51 #AAD651
triadic
#D6BF51 #51D6BF #BF51D6
tetradic
#D6BF51 #51D67C #5168D6 #D651AA
square
#D6BF51 #51D67C #5168D6 #D651AA
split-complementary
#D6BF51 #51AAD6 #7C51D6
monochromatic
#8C7921 #BDA42D #D6BF51 #E2D183 #EDE3B4

Accessibility & contrast

On white

1.84
#D6BF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#D6BF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6BF51
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6BF51#FFFFFF#000000##000000
##D6BF511.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB45
Deuteranopia (green-blind)
#D7C356
Tritanopia (blue-blind)
#E6B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d6bf51;
/* rgb */ color: rgb(214, 191, 81);
/* oklch */ color: oklch(80.3% 0.131 97.5);
Tailwind
colors: {
  custom: {
    50: '#e6d286',
    500: '#d6bf51',
    950: '#000000',
  },
}
SCSS
$custom: #d6bf51;
$custom-light: #e6d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d6bf51",
  "rgb": {
    "r": 214,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 49.624,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80336,
    "c": 0.13144,
    "h": 97.5
  },
  "luminance": 0.52152
}

Semantic roles & 50–950 ramp

primary
#D6BF51
secondary
#3A4992
accent
#5FE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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