#D7B95C#D7B95C

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

Color values

HEX#D7B95C
RGBrgb(215, 185, 92)
HSLhsl(45, 61%, 60%)
HSVhsv(45, 57%, 84%)
CMYKcmyk(0%, 14%, 57.2%, 15.7%)
CIE-LABlab(76.02, -0.39, 50.40)
CIE-LCHlch(76.02, 50.40, 90.45°)
OKLaboklab(79.32% -0.0035 0.1177)
OKLCHoklch(79.32% 0.118 91.7)
XYZxyz(47.3071, 49.9201, 17.2669)
Luminance0.4992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B95C #5C7AD7
analogous
#D77C5C #D7B95C #B7D75C
triadic
#D7B95C #5CD7B9 #B95CD7
tetradic
#D7B95C #5CD77C #5C7AD7 #D75CB7
square
#D7B95C #5CD77C #5C7AD7 #D75CB7
split-complementary
#D7B95C #5CB7D7 #7C5CD7
monochromatic
#947924 #C5A130 #D7B95C #E3CE8D #EFE3BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7B95C#FFFFFF#000000##000000
##D7B95C1.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)
#CAB653
Deuteranopia (green-blind)
#D2BF60
Tritanopia (blue-blind)
#E7ACA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d7b95c;
/* rgb */ color: rgb(215, 185, 92);
/* oklch */ color: oklch(79.3% 0.118 91.7);
Tailwind
colors: {
  custom: {
    50: '#e6cd8d',
    500: '#d7b95c',
    950: '#000000',
  },
}
SCSS
$custom: #d7b95c;
$custom-light: #e6cd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b95c",
  "rgb": {
    "r": 215,
    "g": 185,
    "b": 92
  },
  "hsl": {
    "h": 45.366,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.79323,
    "c": 0.1177,
    "h": 91.7
  },
  "luminance": 0.49918
}

Semantic roles & 50–950 ramp

primary
#D7B95C
secondary
#B0BBDF
accent
#47C81D
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D7B95C

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

Preview Lab → · Contrast checker → · Palette generator →

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