#D6BA4F#D6BA4F

#D6BA4F is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.3% C 0.129 H 94.6°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#D6BA4F
RGBrgb(214, 186, 79)
HSLhsl(48, 62%, 57%)
HSVhsv(48, 63%, 84%)
CMYKcmyk(0%, 13.1%, 63.1%, 16.1%)
CIE-LABlab(76.06, -2.24, 56.39)
CIE-LCHlch(76.06, 56.44, 92.28°)
OKLaboklab(79.29% -0.0103 0.1289)
OKLCHoklch(79.29% 0.129 94.6)
XYZxyz(46.7039, 49.9808, 14.5829)
Luminance0.4998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6BA4F #4F6BD6
analogous
#D6774F #D6BA4F #AED64F
triadic
#D6BA4F #4FD6BA #BA4FD6
tetradic
#D6BA4F #4FD677 #4F6BD6 #D64FAE
square
#D6BA4F #4FD677 #4F6BD6 #D64FAE
split-complementary
#D6BA4F #4FAED6 #774FD6
monochromatic
#8A7420 #BC9E2C #D6BA4F #E2CD81 #EDE1B2

Accessibility & contrast

On white

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

On black

11.00
#D6BA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6BA4F
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6BA4F#FFFFFF#000000##000000
##D6BA4F1.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB743
Deuteranopia (green-blind)
#D3BF54
Tritanopia (blue-blind)
#E6ADA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d6ba4f;
/* rgb */ color: rgb(214, 186, 79);
/* oklch */ color: oklch(79.3% 0.129 94.6);
Tailwind
colors: {
  custom: {
    50: '#e6ce85',
    500: '#d6ba4f',
    950: '#000000',
  },
}
SCSS
$custom: #d6ba4f;
$custom-light: #e6ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ba4f",
  "rgb": {
    "r": 214,
    "g": 186,
    "b": 79
  },
  "hsl": {
    "h": 47.556,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79289,
    "c": 0.12926,
    "h": 94.6
  },
  "luminance": 0.49978
}

Semantic roles & 50–950 ramp

primary
#D6BA4F
secondary
#A5B0DC
accent
#64E543
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D6BA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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