#D7B95B#D7B95B

#D7B95B is a light, moderate yellow. Relative luminance 0.499; OKLCH L 79.3% C 0.119 H 91.8°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#D7B95B
RGBrgb(215, 185, 91)
HSLhsl(45, 61%, 60%)
HSVhsv(45, 58%, 84%)
CMYKcmyk(0%, 14%, 57.7%, 15.7%)
CIE-LABlab(76.01, -0.47, 50.86)
CIE-LCHlch(76.01, 50.86, 90.53°)
OKLaboklab(79.31% -0.0038 0.1185)
OKLCHoklch(79.31% 0.119 91.8)
XYZxyz(47.2636, 49.9027, 17.0382)
Luminance0.4990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B95B #5B79D7
analogous
#D77B5B #D7B95B #B7D75B
triadic
#D7B95B #5BD7B9 #B95BD7
tetradic
#D7B95B #5BD77B #5B79D7 #D75BB7
square
#D7B95B #5BD77B #5B79D7 #D75BB7
split-complementary
#D7B95B #5BB7D7 #7B5BD7
monochromatic
#947924 #C5A130 #D7B95B #E3CE8C #EFE3BD

Accessibility & contrast

On white

1.91
#D7B95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#D7B95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B95B
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B95B#FFFFFF#000000##000000
##D7B95B1.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7b95b;
/* rgb */ color: rgb(215, 185, 91);
/* oklch */ color: oklch(79.3% 0.119 91.8);
Tailwind
colors: {
  custom: {
    50: '#e6cd8c',
    500: '#d7b95b',
    950: '#000000',
  },
}
SCSS
$custom: #d7b95b;
$custom-light: #e6cd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b95b",
  "rgb": {
    "r": 215,
    "g": 185,
    "b": 91
  },
  "hsl": {
    "h": 45.484,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.79311,
    "c": 0.11859,
    "h": 91.8
  },
  "luminance": 0.499
}

Semantic roles & 50–950 ramp

primary
#D7B95B
secondary
#AFBBDF
accent
#6BE444
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D7B95B

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

Preview Lab → · Contrast checker → · Palette generator →

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