#D5B95B#D5B95B

#D5B95B is a light, moderate yellow. Relative luminance 0.496; OKLCH L 79.1% C 0.118 H 93.0°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#D5B95B
RGBrgb(213, 185, 91)
HSLhsl(46, 59%, 60%)
HSVhsv(46, 57%, 84%)
CMYKcmyk(0%, 13.1%, 57.3%, 16.5%)
CIE-LABlab(75.82, -1.31, 50.60)
CIE-LCHlch(75.82, 50.62, 91.48°)
OKLaboklab(79.12% -0.0061 0.118)
OKLCHoklch(79.12% 0.118 93)
XYZxyz(46.6798, 49.6017, 17.0108)
Luminance0.4960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B95B #5B77D5
analogous
#D57C5B #D5B95B #B4D55B
triadic
#D5B95B #5BD5B9 #B95BD5
tetradic
#D5B95B #5BD57C #5B77D5 #D55BB4
square
#D5B95B #5BD57C #5B77D5 #D55BB4
split-complementary
#D5B95B #5BB4D5 #7C5BD5
monochromatic
#917825 #C1A032 #D5B95B #E1CE8C #EEE3BC

Accessibility & contrast

On white

1.92
#D5B95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#D5B95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B95B
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B95B#FFFFFF#000000##000000
##D5B95B1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB652
Deuteranopia (green-blind)
#D1BE5F
Tritanopia (blue-blind)
#E4ACA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d5b95b;
/* rgb */ color: rgb(213, 185, 91);
/* oklch */ color: oklch(79.1% 0.118 93.0);
Tailwind
colors: {
  custom: {
    50: '#e5cd8c',
    500: '#d5b95b',
    950: '#000000',
  },
}
SCSS
$custom: #d5b95b;
$custom-light: #e5cd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b95b",
  "rgb": {
    "r": 213,
    "g": 185,
    "b": 91
  },
  "hsl": {
    "h": 46.23,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.79121,
    "c": 0.11817,
    "h": 93
  },
  "luminance": 0.49599
}

Semantic roles & 50–950 ramp

primary
#D5B95B
secondary
#AEB9DE
accent
#69E245
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D5B95B

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

Preview Lab → · Contrast checker → · Palette generator →

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