#D6BA3B#D6BA3B

#D6BA3B is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.1% C 0.143 H 96.3°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#D6BA3B
RGBrgb(214, 186, 59)
HSLhsl(49, 65%, 54%)
HSVhsv(49, 72%, 84%)
CMYKcmyk(0%, 13.1%, 72.4%, 16.1%)
CIE-LABlab(75.90, -3.34, 64.44)
CIE-LCHlch(75.90, 64.53, 92.97°)
OKLaboklab(79.12% -0.0157 0.1426)
OKLCHoklch(79.12% 0.143 96.3)
XYZxyz(46.0822, 49.7322, 11.3088)
Luminance0.4973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6BA3B #3B57D6
analogous
#D66C3B #D6BA3B #A5D63B
triadic
#D6BA3B #3BD6BA #BA3BD6
tetradic
#D6BA3B #3BD66C #3B57D6 #D63BA5
square
#D6BA3B #3BD66C #3B57D6 #D63BA5
split-complementary
#D6BA3B #3BA5D6 #6C3BD6
monochromatic
#7D6B1A #AF9625 #D6BA3B #E1CC6E #EBDEA0

Accessibility & contrast

On white

1.92
#D6BA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#D6BA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6BA3B
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6BA3B#FFFFFF#000000##000000
##D6BA3B1.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB626
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#E7ACA1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d6ba3b;
/* rgb */ color: rgb(214, 186, 59);
/* oklch */ color: oklch(79.1% 0.143 96.3);
Tailwind
colors: {
  custom: {
    50: '#e7ce79',
    500: '#d6ba3b',
    950: '#000000',
  },
}
SCSS
$custom: #d6ba3b;
$custom-light: #e7ce79;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ba3b",
  "rgb": {
    "r": 214,
    "g": 186,
    "b": 59
  },
  "hsl": {
    "h": 49.161,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79119,
    "c": 0.14345,
    "h": 96.3
  },
  "luminance": 0.4973
}

Semantic roles & 50–950 ramp

primary
#D6BA3B
secondary
#95A1D8
accent
#5EE83F
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D6BA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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