#D5B95F#D5B95F

#D5B95F is a light, moderate yellow. Relative luminance 0.497; OKLCH L 79.2% C 0.115 H 92.4°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#D5B95F
RGBrgb(213, 185, 95)
HSLhsl(46, 58%, 60%)
HSVhsv(46, 55%, 84%)
CMYKcmyk(0%, 13.1%, 55.4%, 16.5%)
CIE-LABlab(75.87, -1.00, 48.74)
CIE-LCHlch(75.87, 48.75, 91.17°)
OKLaboklab(79.17% -0.0047 0.1144)
OKLCHoklch(79.17% 0.115 92.4)
XYZxyz(46.8570, 49.6725, 17.9439)
Luminance0.4967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B95F #5F7BD5
analogous
#D57E5F #D5B95F #B6D55F
triadic
#D5B95F #5FD5B9 #B95FD5
tetradic
#D5B95F #5FD57E #5F7BD5 #D55FB6
square
#D5B95F #5FD57E #5F7BD5 #D55FB6
split-complementary
#D5B95F #5FB6D5 #7E5FD5
monochromatic
#937927 #C3A133 #D5B95F #E2CE8F #EEE3C0

Accessibility & contrast

On white

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

On black

10.93
#D5B95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B95F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B95F#FFFFFF#000000##000000
##D5B95F1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB657
Deuteranopia (green-blind)
#D1BF63
Tritanopia (blue-blind)
#E4ADA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d5b95f;
/* rgb */ color: rgb(213, 185, 95);
/* oklch */ color: oklch(79.2% 0.115 92.4);
Tailwind
colors: {
  custom: {
    50: '#e4cd8f',
    500: '#d5b95f',
    950: '#000000',
  },
}
SCSS
$custom: #d5b95f;
$custom-light: #e4cd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b95f",
  "rgb": {
    "r": 213,
    "g": 185,
    "b": 95
  },
  "hsl": {
    "h": 45.763,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.7917,
    "c": 0.11452,
    "h": 92.4
  },
  "luminance": 0.4967
}

Semantic roles & 50–950 ramp

primary
#D5B95F
secondary
#B1BCDE
accent
#47C61F
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D5B95F

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

Preview Lab → · Contrast checker → · Palette generator →

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