#D1B95D#D1B95D

#D1B95D is a light, moderate yellow. Relative luminance 0.490; OKLCH L 78.8% C 0.116 H 95.0°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#D1B95D
RGBrgb(209, 185, 93)
HSLhsl(48, 56%, 59%)
HSVhsv(48, 56%, 82%)
CMYKcmyk(0%, 11.5%, 55.5%, 18%)
CIE-LABlab(75.48, -2.83, 49.15)
CIE-LCHlch(75.48, 49.24, 93.29°)
OKLaboklab(78.77% -0.01 0.1152)
OKLCHoklch(78.77% 0.116 95)
XYZxyz(45.6210, 49.0456, 17.4175)
Luminance0.4904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B95D #5D75D1
analogous
#D17F5D #D1B95D #AFD15D
triadic
#D1B95D #5DD1B9 #B95DD1
tetradic
#D1B95D #5DD17F #5D75D1 #D15DAF
square
#D1B95D #5DD17F #5D75D1 #D15DAF
split-complementary
#D1B95D #5DAFD1 #7F5DD1
monochromatic
#8C7728 #BCA035 #D1B95D #DFCE8D #ECE2BC

Accessibility & contrast

On white

1.94
#D1B95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#D1B95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B95D
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B95D#FFFFFF#000000##000000
##D1B95D1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B654
Deuteranopia (green-blind)
#CFBD61
Tritanopia (blue-blind)
#E0ADA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d1b95d;
/* rgb */ color: rgb(209, 185, 93);
/* oklch */ color: oklch(78.8% 0.116 95.0);
Tailwind
colors: {
  custom: {
    50: '#e2cd8d',
    500: '#d1b95d',
    950: '#000000',
  },
}
SCSS
$custom: #d1b95d;
$custom-light: #e2cd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b95d",
  "rgb": {
    "r": 209,
    "g": 185,
    "b": 93
  },
  "hsl": {
    "h": 47.586,
    "s": 55.769,
    "l": 59.216
  },
  "oklch": {
    "l": 0.7877,
    "c": 0.11562,
    "h": 95
  },
  "luminance": 0.49044
}

Semantic roles & 50–950 ramp

primary
#D1B95D
secondary
#AEB8DC
accent
#68DF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D1B95D

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

Preview Lab → · Contrast checker → · Palette generator →

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