#D9BC5E#D9BC5E

#D9BC5E is a light, moderate yellow. Relative luminance 0.515; OKLCH L 80.1% C 0.118 H 92.4°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#D9BC5E
RGBrgb(217, 188, 94)
HSLhsl(46, 62%, 61%)
HSVhsv(46, 57%, 85%)
CMYKcmyk(0%, 13.4%, 56.7%, 14.9%)
CIE-LABlab(77.00, -0.97, 50.63)
CIE-LCHlch(77.00, 50.64, 91.10°)
OKLaboklab(80.15% -0.005 0.1183)
OKLCHoklch(80.15% 0.118 92.4)
XYZxyz(48.6209, 51.5287, 17.9725)
Luminance0.5153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BC5E #5E7BD9
analogous
#D97E5E #D9BC5E #B8D95E
triadic
#D9BC5E #5ED9BC #BC5ED9
tetradic
#D9BC5E #5ED97E #5E7BD9 #D95EB8
square
#D9BC5E #5ED97E #5E7BD9 #D95EB8
split-complementary
#D9BC5E #5EB8D9 #7E5ED9
monochromatic
#997D24 #CAA630 #D9BC5E #E5D190 #F0E5C1

Accessibility & contrast

On white

1.86
#D9BC5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#D9BC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BC5E
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BC5E#FFFFFF#000000##000000
##D9BC5E1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB955
Deuteranopia (green-blind)
#D5C262
Tritanopia (blue-blind)
#E9AFA7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d9bc5e;
/* rgb */ color: rgb(217, 188, 94);
/* oklch */ color: oklch(80.1% 0.118 92.4);
Tailwind
colors: {
  custom: {
    50: '#e7cf8e',
    500: '#d9bc5e',
    950: '#000000',
  },
}
SCSS
$custom: #d9bc5e;
$custom-light: #e7cf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bc5e",
  "rgb": {
    "r": 217,
    "g": 188,
    "b": 94
  },
  "hsl": {
    "h": 45.854,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.80145,
    "c": 0.11844,
    "h": 92.4
  },
  "luminance": 0.51526
}

Semantic roles & 50–950 ramp

primary
#D9BC5E
secondary
#3E559D
accent
#45CA1C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D9BC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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