#D7B95E#D7B95E

#D7B95E is a light, moderate yellow. Relative luminance 0.500; OKLCH L 79.3% C 0.116 H 91.4°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#D7B95E
RGBrgb(215, 185, 94)
HSLhsl(45, 60%, 61%)
HSVhsv(45, 56%, 84%)
CMYKcmyk(0%, 14%, 56.3%, 15.7%)
CIE-LABlab(76.04, -0.24, 49.47)
CIE-LCHlch(76.04, 49.47, 90.28°)
OKLaboklab(79.35% -0.0028 0.1159)
OKLCHoklch(79.35% 0.116 91.4)
XYZxyz(47.3956, 49.9555, 17.7334)
Luminance0.4995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B95E #5E7CD7
analogous
#D77C5E #D7B95E #B8D75E
triadic
#D7B95E #5ED7B9 #B95ED7
tetradic
#D7B95E #5ED77C #5E7CD7 #D75EB8
square
#D7B95E #5ED77C #5E7CD7 #D75EB8
split-complementary
#D7B95E #5EB8D7 #7C5ED7
monochromatic
#957A25 #C6A231 #D7B95E #E3CE8F #EFE4C0

Accessibility & contrast

On white

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

On black

10.99
#D7B95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B95E
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B95E#FFFFFF#000000##000000
##D7B95E1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7b95e;
/* rgb */ color: rgb(215, 185, 94);
/* oklch */ color: oklch(79.3% 0.116 91.4);
Tailwind
colors: {
  custom: {
    50: '#e6cd8e',
    500: '#d7b95e',
    950: '#000000',
  },
}
SCSS
$custom: #d7b95e;
$custom-light: #e6cd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b95e",
  "rgb": {
    "r": 215,
    "g": 185,
    "b": 94
  },
  "hsl": {
    "h": 45.124,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.79347,
    "c": 0.11589,
    "h": 91.4
  },
  "luminance": 0.49953
}

Semantic roles & 50–950 ramp

primary
#D7B95E
secondary
#B1BDDF
accent
#48C81E
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D7B95E

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

Preview Lab → · Contrast checker → · Palette generator →

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