#D9BC36#D9BC36

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

Color values

HEX#D9BC36
RGBrgb(217, 188, 54)
HSLhsl(49, 68%, 53%)
HSVhsv(49, 75%, 85%)
CMYKcmyk(0%, 13.4%, 75.1%, 14.9%)
CIE-LABlab(76.67, -3.31, 67.08)
CIE-LCHlch(76.67, 67.16, 92.83°)
OKLaboklab(79.78% -0.0163 0.1471)
OKLCHoklch(79.78% 0.148 96.3)
XYZxyz(47.2668, 50.9871, 10.8411)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BC36 #3653D9
analogous
#D96A36 #D9BC36 #A4D936
triadic
#D9BC36 #36D9BC #BC36D9
tetradic
#D9BC36 #36D96A #3653D9 #D936A4
square
#D9BC36 #36D96A #3653D9 #D936A4
split-complementary
#D9BC36 #36A4D9 #6A36D9
monochromatic
#7D6B18 #B09721 #D9BC36 #E3CD69 #ECDE9D

Accessibility & contrast

On white

1.88
#D9BC36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#D9BC36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BC36
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BC36#FFFFFF#000000##000000
##D9BC361.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B81C
Deuteranopia (green-blind)
#D7C13F
Tritanopia (blue-blind)
#EAADA2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d9bc36;
/* rgb */ color: rgb(217, 188, 54);
/* oklch */ color: oklch(79.8% 0.148 96.3);
Tailwind
colors: {
  custom: {
    50: '#e9cf77',
    500: '#d9bc36',
    950: '#000000',
  },
}
SCSS
$custom: #d9bc36;
$custom-light: #e9cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bc36",
  "rgb": {
    "r": 217,
    "g": 188,
    "b": 54
  },
  "hsl": {
    "h": 49.325,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79782,
    "c": 0.14801,
    "h": 96.3
  },
  "luminance": 0.50984
}

Semantic roles & 50–950 ramp

primary
#D9BC36
secondary
#2F3E84
accent
#5CEB3D
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171309
muted
#85837D

Preview Lab

Preview with #D9BC36

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

Preview Lab → · Contrast checker → · Palette generator →

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