#D6BA4B#D6BA4B

#D6BA4B is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.3% C 0.132 H 95.0°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#D6BA4B
RGBrgb(214, 186, 75)
HSLhsl(48, 63%, 57%)
HSVhsv(48, 65%, 84%)
CMYKcmyk(0%, 13.1%, 65%, 16.1%)
CIE-LABlab(76.02, -2.49, 58.10)
CIE-LCHlch(76.02, 58.16, 92.46°)
OKLaboklab(79.25% -0.0115 0.1319)
OKLCHoklch(79.25% 0.132 95)
XYZxyz(46.5626, 49.9243, 13.8390)
Luminance0.4992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6BA4B #4B67D6
analogous
#D6754B #D6BA4B #ACD64B
triadic
#D6BA4B #4BD6BA #BA4BD6
tetradic
#D6BA4B #4BD675 #4B67D6 #D64BAC
square
#D6BA4B #4BD675 #4B67D6 #D64BAC
split-complementary
#D6BA4B #4BACD6 #754BD6
monochromatic
#88731F #BA9D2A #D6BA4B #E1CD7D #EDE0AF

Accessibility & contrast

On white

1.91
#D6BA4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#D6BA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6BA4B
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6BA4B#FFFFFF#000000##000000
##D6BA4B1.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB63E
Deuteranopia (green-blind)
#D3BF51
Tritanopia (blue-blind)
#E6ACA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d6ba4b;
/* rgb */ color: rgb(214, 186, 75);
/* oklch */ color: oklch(79.3% 0.132 95.0);
Tailwind
colors: {
  custom: {
    50: '#e6ce82',
    500: '#d6ba4b',
    950: '#000000',
  },
}
SCSS
$custom: #d6ba4b;
$custom-light: #e6ce82;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ba4b",
  "rgb": {
    "r": 214,
    "g": 186,
    "b": 75
  },
  "hsl": {
    "h": 47.914,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79251,
    "c": 0.13239,
    "h": 95
  },
  "luminance": 0.49922
}

Semantic roles & 50–950 ramp

primary
#D6BA4B
secondary
#A2ADDB
accent
#63E642
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D6BA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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