#D6BA4A#D6BA4A

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

Color values

HEX#D6BA4A
RGBrgb(214, 186, 74)
HSLhsl(48, 63%, 56%)
HSVhsv(48, 65%, 84%)
CMYKcmyk(0%, 13.1%, 65.4%, 16.1%)
CIE-LABlab(76.01, -2.55, 58.52)
CIE-LCHlch(76.01, 58.58, 92.50°)
OKLaboklab(79.24% -0.0118 0.1326)
OKLCHoklch(79.24% 0.133 95.1)
XYZxyz(46.5287, 49.9107, 13.6602)
Luminance0.4991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6BA4A #4A66D6
analogous
#D6744A #D6BA4A #ACD64A
triadic
#D6BA4A #4AD6BA #BA4AD6
tetradic
#D6BA4A #4AD674 #4A66D6 #D64AAC
square
#D6BA4A #4AD674 #4A66D6 #D64AAC
split-complementary
#D6BA4A #4AACD6 #744AD6
monochromatic
#87721F #B99C2A #D6BA4A #E1CD7C #EDE0AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D6BA4A#FFFFFF#000000##000000
##D6BA4A1.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)
#CCB63C
Deuteranopia (green-blind)
#D3BF50
Tritanopia (blue-blind)
#E6ACA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d6ba4a;
/* rgb */ color: rgb(214, 186, 74);
/* oklch */ color: oklch(79.2% 0.133 95.1);
Tailwind
colors: {
  custom: {
    50: '#e6ce82',
    500: '#d6ba4a',
    950: '#000000',
  },
}
SCSS
$custom: #d6ba4a;
$custom-light: #e6ce82;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ba4a",
  "rgb": {
    "r": 214,
    "g": 186,
    "b": 74
  },
  "hsl": {
    "h": 48,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79241,
    "c": 0.13315,
    "h": 95.1
  },
  "luminance": 0.49908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D6BA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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