#D2B95B#D2B95B

#D2B95B is a light, moderate yellow. Relative luminance 0.492; OKLCH L 78.8% C 0.118 H 94.7°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#D2B95B
RGBrgb(210, 185, 91)
HSLhsl(47, 57%, 59%)
HSVhsv(47, 57%, 82%)
CMYKcmyk(0%, 11.9%, 56.7%, 17.6%)
CIE-LABlab(75.55, -2.56, 50.21)
CIE-LCHlch(75.55, 50.28, 92.92°)
OKLaboklab(78.84% -0.0095 0.1172)
OKLCHoklch(78.84% 0.118 94.7)
XYZxyz(45.8175, 49.1570, 16.9704)
Luminance0.4915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B95B #5B74D2
analogous
#D27E5B #D2B95B #B0D25B
triadic
#D2B95B #5BD2B9 #B95BD2
tetradic
#D2B95B #5BD27E #5B74D2 #D25BB0
square
#D2B95B #5BD27E #5B74D2 #D25BB0
split-complementary
#D2B95B #5BB0D2 #7E5BD2
monochromatic
#8C7726 #BC9F34 #D2B95B #DFCD8B #ECE2BB

Accessibility & contrast

On white

1.94
#D2B95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#D2B95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B95B
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B95B#FFFFFF#000000##000000
##D2B95B1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB652
Deuteranopia (green-blind)
#D0BD5F
Tritanopia (blue-blind)
#E1ADA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d2b95b;
/* rgb */ color: rgb(210, 185, 91);
/* oklch */ color: oklch(78.8% 0.118 94.7);
Tailwind
colors: {
  custom: {
    50: '#e2cd8c',
    500: '#d2b95b',
    950: '#000000',
  },
}
SCSS
$custom: #d2b95b;
$custom-light: #e2cd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b95b",
  "rgb": {
    "r": 210,
    "g": 185,
    "b": 91
  },
  "hsl": {
    "h": 47.395,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.78839,
    "c": 0.11763,
    "h": 94.7
  },
  "luminance": 0.49155
}

Semantic roles & 50–950 ramp

primary
#D2B95B
secondary
#ADB7DC
accent
#68E048
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2B95B

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

Preview Lab → · Contrast checker → · Palette generator →

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