#D9BC3E#D9BC3E

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

Color values

HEX#D9BC3E
RGBrgb(217, 188, 62)
HSLhsl(49, 67%, 55%)
HSVhsv(49, 71%, 85%)
CMYKcmyk(0%, 13.4%, 71.4%, 14.9%)
CIE-LABlab(76.72, -2.95, 64.20)
CIE-LCHlch(76.72, 64.27, 92.64°)
OKLaboklab(79.84% -0.0145 0.1425)
OKLCHoklch(79.84% 0.143 95.8)
XYZxyz(47.4704, 51.0685, 11.9133)
Luminance0.5107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BC3E #3E5BD9
analogous
#D96E3E #D9BC3E #A9D93E
triadic
#D9BC3E #3ED9BC #BC3ED9
tetradic
#D9BC3E #3ED96E #3E5BD9 #D93EA9
square
#D9BC3E #3ED96E #3E5BD9 #D93EA9
split-complementary
#D9BC3E #3EA9D9 #6E3ED9
monochromatic
#836F1A #B69B24 #D9BC3E #E3CE71 #EDE0A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9BC3E#FFFFFF#000000##000000
##D9BC3E1.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)
#CFB82B
Deuteranopia (green-blind)
#D7C145
Tritanopia (blue-blind)
#EAAEA3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d9bc3e;
/* rgb */ color: rgb(217, 188, 62);
/* oklch */ color: oklch(79.8% 0.143 95.8);
Tailwind
colors: {
  custom: {
    50: '#e9cf7b',
    500: '#d9bc3e',
    950: '#000000',
  },
}
SCSS
$custom: #d9bc3e;
$custom-light: #e9cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bc3e",
  "rgb": {
    "r": 217,
    "g": 188,
    "b": 62
  },
  "hsl": {
    "h": 48.774,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79836,
    "c": 0.14325,
    "h": 95.8
  },
  "luminance": 0.51066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9BC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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