#D5B85F#D5B85F

#D5B85F is a light, moderate yellow. Relative luminance 0.493; OKLCH L 79.0% C 0.114 H 91.6°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#D5B85F
RGBrgb(213, 184, 95)
HSLhsl(45, 58%, 60%)
HSVhsv(45, 55%, 84%)
CMYKcmyk(0%, 13.6%, 55.4%, 16.5%)
CIE-LABlab(75.61, -0.47, 48.44)
CIE-LCHlch(75.61, 48.44, 90.56°)
OKLaboklab(78.97% -0.0032 0.1138)
OKLCHoklch(78.97% 0.114 91.6)
XYZxyz(46.6485, 49.2556, 17.8744)
Luminance0.4925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B85F #5F7CD5
analogous
#D57D5F #D5B85F #B7D55F
triadic
#D5B85F #5FD5B8 #B85FD5
tetradic
#D5B85F #5FD57D #5F7CD5 #D55FB7
square
#D5B85F #5FD57D #5F7CD5 #D55FB7
split-complementary
#D5B85F #5FB7D5 #7D5FD5
monochromatic
#937827 #C3A033 #D5B85F #E2CE8F #EEE3C0

Accessibility & contrast

On white

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

On black

10.85
#D5B85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B85F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B85F#FFFFFF#000000##000000
##D5B85F1.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B557
Deuteranopia (green-blind)
#D0BE63
Tritanopia (blue-blind)
#E4ACA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d5b85f;
/* rgb */ color: rgb(213, 184, 95);
/* oklch */ color: oklch(79.0% 0.114 91.6);
Tailwind
colors: {
  custom: {
    50: '#e4cd8f',
    500: '#d5b85f',
    950: '#000000',
  },
}
SCSS
$custom: #d5b85f;
$custom-light: #e4cd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b85f",
  "rgb": {
    "r": 213,
    "g": 184,
    "b": 95
  },
  "hsl": {
    "h": 45.254,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.78966,
    "c": 0.11381,
    "h": 91.6
  },
  "luminance": 0.49253
}

Semantic roles & 50–950 ramp

primary
#D5B85F
secondary
#B1BCDE
accent
#48C61F
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D5B85F

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

Preview Lab → · Contrast checker → · Palette generator →

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