#D6BA3A#D6BA3A

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

Color values

HEX#D6BA3A
RGBrgb(214, 186, 58)
HSLhsl(49, 66%, 53%)
HSVhsv(49, 73%, 84%)
CMYKcmyk(0%, 13.1%, 72.9%, 16.1%)
CIE-LABlab(75.90, -3.39, 64.81)
CIE-LCHlch(75.90, 64.90, 92.99°)
OKLaboklab(79.11% -0.016 0.1432)
OKLCHoklch(79.11% 0.144 96.4)
XYZxyz(46.0565, 49.7219, 11.1735)
Luminance0.4972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6BA3A #3A56D6
analogous
#D66C3A #D6BA3A #A4D63A
triadic
#D6BA3A #3AD6BA #BA3AD6
tetradic
#D6BA3A #3AD66C #3A56D6 #D63AA4
square
#D6BA3A #3AD66C #3A56D6 #D63AA4
split-complementary
#D6BA3A #3AA4D6 #6C3AD6
monochromatic
#7C6A1A #AE9624 #D6BA3A #E1CC6D #EBDD9F

Accessibility & contrast

On white

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

On black

10.94
#D6BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6BA3A
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6BA3A#FFFFFF#000000##000000
##D6BA3A1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6ba3a;
/* rgb */ color: rgb(214, 186, 58);
/* oklch */ color: oklch(79.1% 0.144 96.4);
Tailwind
colors: {
  custom: {
    50: '#e7ce79',
    500: '#d6ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #d6ba3a;
$custom-light: #e7ce79;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ba3a",
  "rgb": {
    "r": 214,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 49.231,
    "s": 65.546,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79112,
    "c": 0.14406,
    "h": 96.4
  },
  "luminance": 0.49719
}

Semantic roles & 50–950 ramp

primary
#D6BA3A
secondary
#94A0D7
accent
#5EE83F
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D6BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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