#D6BA3F#D6BA3F

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

Color values

HEX#D6BA3F
RGBrgb(214, 186, 63)
HSLhsl(49, 65%, 54%)
HSVhsv(49, 71%, 84%)
CMYKcmyk(0%, 13.1%, 70.6%, 16.1%)
CIE-LABlab(75.93, -3.15, 62.94)
CIE-LCHlch(75.93, 63.02, 92.87°)
OKLaboklab(79.15% -0.0147 0.1401)
OKLCHoklch(79.15% 0.141 96)
XYZxyz(46.1900, 49.7753, 11.8763)
Luminance0.4977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6BA3F #3F5BD6
analogous
#D66F3F #D6BA3F #A7D63F
triadic
#D6BA3F #3FD6BA #BA3FD6
tetradic
#D6BA3F #3FD66F #3F5BD6 #D63FA7
square
#D6BA3F #3FD66F #3F5BD6 #D63FA7
split-complementary
#D6BA3F #3FA7D6 #6F3FD6
monochromatic
#7F6D1B #B29826 #D6BA3F #E1CC71 #ECDEA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D6BA3F#FFFFFF#000000##000000
##D6BA3F1.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)
#CDB62D
Deuteranopia (green-blind)
#D4BF46
Tritanopia (blue-blind)
#E7ACA1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d6ba3f;
/* rgb */ color: rgb(214, 186, 63);
/* oklch */ color: oklch(79.1% 0.141 96.0);
Tailwind
colors: {
  custom: {
    50: '#e7ce7b',
    500: '#d6ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #d6ba3f;
$custom-light: #e7ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ba3f",
  "rgb": {
    "r": 214,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 48.874,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79149,
    "c": 0.14091,
    "h": 96
  },
  "luminance": 0.49773
}

Semantic roles & 50–950 ramp

primary
#D6BA3F
secondary
#98A4D8
accent
#5FE840
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D6BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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