#D9BC3F#D9BC3F

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

Color values

HEX#D9BC3F
RGBrgb(217, 188, 63)
HSLhsl(49, 67%, 55%)
HSVhsv(49, 71%, 85%)
CMYKcmyk(0%, 13.4%, 71%, 14.9%)
CIE-LABlab(76.73, -2.91, 63.83)
CIE-LCHlch(76.73, 63.89, 92.61°)
OKLaboklab(79.84% -0.0142 0.1419)
OKLCHoklch(79.84% 0.143 95.7)
XYZxyz(47.4981, 51.0796, 12.0592)
Luminance0.5108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BC3F #3F5CD9
analogous
#D96F3F #D9BC3F #A9D93F
triadic
#D9BC3F #3FD9BC #BC3FD9
tetradic
#D9BC3F #3FD96F #3F5CD9 #D93FA9
square
#D9BC3F #3FD96F #3F5CD9 #D93FA9
split-complementary
#D9BC3F #3FA9D9 #6F3FD9
monochromatic
#84701A #B79B24 #D9BC3F #E3CE72 #EDE0A5

Accessibility & contrast

On white

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

On black

11.22
#D9BC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BC3F
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BC3F#FFFFFF#000000##000000
##D9BC3F1.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82C
Deuteranopia (green-blind)
#D7C146
Tritanopia (blue-blind)
#EAAEA3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d9bc3f;
/* rgb */ color: rgb(217, 188, 63);
/* oklch */ color: oklch(79.8% 0.143 95.7);
Tailwind
colors: {
  custom: {
    50: '#e9cf7c',
    500: '#d9bc3f',
    950: '#000000',
  },
}
SCSS
$custom: #d9bc3f;
$custom-light: #e9cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bc3f",
  "rgb": {
    "r": 217,
    "g": 188,
    "b": 63
  },
  "hsl": {
    "h": 48.701,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79844,
    "c": 0.14261,
    "h": 95.7
  },
  "luminance": 0.51077
}

Semantic roles & 50–950 ramp

primary
#D9BC3F
secondary
#32438A
accent
#5EEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #D9BC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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