#D9BC4B#D9BC4B

#D9BC4B is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.9% C 0.134 H 94.7°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#D9BC4B
RGBrgb(217, 188, 75)
HSLhsl(48, 65%, 57%)
HSVhsv(48, 65%, 85%)
CMYKcmyk(0%, 13.4%, 65.4%, 14.9%)
CIE-LABlab(76.82, -2.26, 59.03)
CIE-LCHlch(76.82, 59.08, 92.19°)
OKLaboklab(79.94% -0.011 0.1338)
OKLCHoklch(79.94% 0.134 94.7)
XYZxyz(47.8708, 51.2286, 14.0219)
Luminance0.5123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BC4B #4B68D9
analogous
#D9754B #D9BC4B #AFD94B
triadic
#D9BC4B #4BD9BC #BC4BD9
tetradic
#D9BC4B #4BD975 #4B68D9 #D94BAF
square
#D9BC4B #4BD975 #4B68D9 #D94BAF
split-complementary
#D9BC4B #4BAFD9 #754BD9
monochromatic
#8C751E #BFA028 #D9BC4B #E4CF7E #EEE2B0

Accessibility & contrast

On white

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

On black

11.25
#D9BC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BC4B
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BC4B#FFFFFF#000000##000000
##D9BC4B1.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB83D
Deuteranopia (green-blind)
#D6C151
Tritanopia (blue-blind)
#EAAEA4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d9bc4b;
/* rgb */ color: rgb(217, 188, 75);
/* oklch */ color: oklch(79.9% 0.134 94.7);
Tailwind
colors: {
  custom: {
    50: '#e8cf82',
    500: '#d9bc4b',
    950: '#000000',
  },
}
SCSS
$custom: #d9bc4b;
$custom-light: #e8cf82;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bc4b",
  "rgb": {
    "r": 217,
    "g": 188,
    "b": 75
  },
  "hsl": {
    "h": 47.746,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79944,
    "c": 0.13422,
    "h": 94.7
  },
  "luminance": 0.51226
}

Semantic roles & 50–950 ramp

primary
#D9BC4B
secondary
#364992
accent
#62E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #D9BC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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