#D6BD3F#D6BD3F

#D6BD3F is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.8% C 0.143 H 97.7°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#D6BD3F
RGBrgb(214, 189, 63)
HSLhsl(50, 65%, 54%)
HSVhsv(50, 71%, 84%)
CMYKcmyk(0%, 11.7%, 70.6%, 16.1%)
CIE-LABlab(76.71, -4.71, 63.72)
CIE-LCHlch(76.71, 63.89, 94.23°)
OKLaboklab(79.77% -0.0192 0.1418)
OKLCHoklch(79.77% 0.143 97.7)
XYZxyz(46.8286, 51.0526, 12.0892)
Luminance0.5105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6BD3F #3F58D6
analogous
#D6723F #D6BD3F #A4D63F
triadic
#D6BD3F #3FD6BD #BD3FD6
tetradic
#D6BD3F #3FD672 #3F58D6 #D63FA4
square
#D6BD3F #3FD672 #3F58D6 #D63FA4
split-complementary
#D6BD3F #3FA4D6 #723FD6
monochromatic
#7F6F1B #B29B26 #D6BD3F #E1CE71 #ECE0A4

Accessibility & contrast

On white

1.87
#D6BD3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#D6BD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6BD3F
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6BD3F#FFFFFF#000000##000000
##D6BD3F1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B82C
Deuteranopia (green-blind)
#D6C146
Tritanopia (blue-blind)
#E7AFA4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d6bd3f;
/* rgb */ color: rgb(214, 189, 63);
/* oklch */ color: oklch(79.8% 0.143 97.7);
Tailwind
colors: {
  custom: {
    50: '#e6d07c',
    500: '#d6bd3f',
    950: '#000000',
  },
}
SCSS
$custom: #d6bd3f;
$custom-light: #e6d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#d6bd3f",
  "rgb": {
    "r": 214,
    "g": 189,
    "b": 63
  },
  "hsl": {
    "h": 50.066,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79766,
    "c": 0.14307,
    "h": 97.7
  },
  "luminance": 0.5105
}

Semantic roles & 50–950 ramp

primary
#D6BD3F
secondary
#334187
accent
#5CE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130A
muted
#85837D

Preview Lab

Preview with #D6BD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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