#D7B95A#D7B95A

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

Color values

HEX#D7B95A
RGBrgb(215, 185, 90)
HSLhsl(46, 61%, 60%)
HSVhsv(46, 58%, 84%)
CMYKcmyk(0%, 14%, 58.1%, 15.7%)
CIE-LABlab(76.00, -0.54, 51.32)
CIE-LCHlch(76.00, 51.32, 90.60°)
OKLaboklab(79.3% -0.0041 0.1194)
OKLCHoklch(79.3% 0.119 92)
XYZxyz(47.2208, 49.8856, 16.8125)
Luminance0.4988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B95A #5A78D7
analogous
#D77B5A #D7B95A #B7D75A
triadic
#D7B95A #5AD7B9 #B95AD7
tetradic
#D7B95A #5AD77B #5A78D7 #D75AB7
square
#D7B95A #5AD77B #5A78D7 #D75AB7
split-complementary
#D7B95A #5AB7D7 #7B5AD7
monochromatic
#937824 #C4A130 #D7B95A #E3CE8B #EFE3BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7B95A#FFFFFF#000000##000000
##D7B95A1.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)
#CAB651
Deuteranopia (green-blind)
#D2BF5E
Tritanopia (blue-blind)
#E7ACA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d7b95a;
/* rgb */ color: rgb(215, 185, 90);
/* oklch */ color: oklch(79.3% 0.119 92.0);
Tailwind
colors: {
  custom: {
    50: '#e6cd8c',
    500: '#d7b95a',
    950: '#000000',
  },
}
SCSS
$custom: #d7b95a;
$custom-light: #e6cd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b95a",
  "rgb": {
    "r": 215,
    "g": 185,
    "b": 90
  },
  "hsl": {
    "h": 45.6,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.79299,
    "c": 0.11948,
    "h": 92
  },
  "luminance": 0.49883
}

Semantic roles & 50–950 ramp

primary
#D7B95A
secondary
#AEBADF
accent
#6AE444
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D7B95A

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

Preview Lab → · Contrast checker → · Palette generator →

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