#D7B95F#D7B95F

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

Color values

HEX#D7B95F
RGBrgb(215, 185, 95)
HSLhsl(45, 60%, 61%)
HSVhsv(45, 56%, 84%)
CMYKcmyk(0%, 14%, 55.8%, 15.7%)
CIE-LABlab(76.05, -0.16, 49.00)
CIE-LCHlch(76.05, 49.00, 90.19°)
OKLaboklab(79.36% -0.0024 0.115)
OKLCHoklch(79.36% 0.115 91.2)
XYZxyz(47.4408, 49.9736, 17.9713)
Luminance0.4997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B95F #5F7DD7
analogous
#D77D5F #D7B95F #B9D75F
triadic
#D7B95F #5FD7B9 #B95FD7
tetradic
#D7B95F #5FD77D #5F7DD7 #D75FB9
square
#D7B95F #5FD77D #5F7DD7 #D75FB9
split-complementary
#D7B95F #5FB9D7 #7D5FD7
monochromatic
#967A26 #C7A232 #D7B95F #E3CE90 #EFE4C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7B95F#FFFFFF#000000##000000
##D7B95F1.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)
#CAB657
Deuteranopia (green-blind)
#D2BF63
Tritanopia (blue-blind)
#E7ACA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d7b95f;
/* rgb */ color: rgb(215, 185, 95);
/* oklch */ color: oklch(79.4% 0.115 91.2);
Tailwind
colors: {
  custom: {
    50: '#e6cd8f',
    500: '#d7b95f',
    950: '#000000',
  },
}
SCSS
$custom: #d7b95f;
$custom-light: #e6cd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b95f",
  "rgb": {
    "r": 215,
    "g": 185,
    "b": 95
  },
  "hsl": {
    "h": 45,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.79359,
    "c": 0.11498,
    "h": 91.2
  },
  "luminance": 0.49971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7B95F

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

Preview Lab → · Contrast checker → · Palette generator →

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