#D2B95C#D2B95C

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

Color values

HEX#D2B95C
RGBrgb(210, 185, 92)
HSLhsl(47, 57%, 59%)
HSVhsv(47, 56%, 82%)
CMYKcmyk(0%, 11.9%, 56.2%, 17.6%)
CIE-LABlab(75.56, -2.49, 49.75)
CIE-LCHlch(75.56, 49.81, 92.86°)
OKLaboklab(78.85% -0.0092 0.1163)
OKLCHoklch(78.85% 0.117 94.5)
XYZxyz(45.8609, 49.1744, 17.1991)
Luminance0.4917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B95C #5C75D2
analogous
#D27E5C #D2B95C #B0D25C
triadic
#D2B95C #5CD2B9 #B95CD2
tetradic
#D2B95C #5CD27E #5C75D2 #D25CB0
square
#D2B95C #5CD27E #5C75D2 #D25CB0
split-complementary
#D2B95C #5CB0D2 #7E5CD2
monochromatic
#8D7727 #BDA034 #D2B95C #DFCE8C #ECE2BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B95C#FFFFFF#000000##000000
##D2B95C1.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)
#C9B653
Deuteranopia (green-blind)
#D0BD60
Tritanopia (blue-blind)
#E1ADA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d2b95c;
/* rgb */ color: rgb(210, 185, 92);
/* oklch */ color: oklch(78.9% 0.117 94.5);
Tailwind
colors: {
  custom: {
    50: '#e2cd8d',
    500: '#d2b95c',
    950: '#000000',
  },
}
SCSS
$custom: #d2b95c;
$custom-light: #e2cd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b95c",
  "rgb": {
    "r": 210,
    "g": 185,
    "b": 92
  },
  "hsl": {
    "h": 47.288,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.78851,
    "c": 0.1167,
    "h": 94.5
  },
  "luminance": 0.49172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B95C

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

Preview Lab → · Contrast checker → · Palette generator →

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