#D2B85B#D2B85B

#D2B85B is a light, moderate yellow. Relative luminance 0.487; OKLCH L 78.6% C 0.117 H 93.9°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#D2B85B
RGBrgb(210, 184, 91)
HSLhsl(47, 57%, 59%)
HSVhsv(47, 57%, 82%)
CMYKcmyk(0%, 12.4%, 56.7%, 17.6%)
CIE-LABlab(75.29, -2.04, 49.91)
CIE-LCHlch(75.29, 49.95, 92.34°)
OKLaboklab(78.63% -0.008 0.1166)
OKLCHoklch(78.63% 0.117 93.9)
XYZxyz(45.6090, 48.7401, 16.9009)
Luminance0.4874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B85B #5B75D2
analogous
#D27D5B #D2B85B #B1D25B
triadic
#D2B85B #5BD2B8 #B85BD2
tetradic
#D2B85B #5BD27D #5B75D2 #D25BB1
square
#D2B85B #5BD27D #5B75D2 #D25BB1
split-complementary
#D2B85B #5BB1D2 #7D5BD2
monochromatic
#8C7626 #BC9E34 #D2B85B #DFCD8B #ECE2BB

Accessibility & contrast

On white

1.95
#D2B85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#D2B85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B85B
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B85B#FFFFFF#000000##000000
##D2B85B1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B552
Deuteranopia (green-blind)
#CFBD5F
Tritanopia (blue-blind)
#E1ACA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b85b;
/* rgb */ color: rgb(210, 184, 91);
/* oklch */ color: oklch(78.6% 0.117 93.9);
Tailwind
colors: {
  custom: {
    50: '#e2cd8c',
    500: '#d2b85b',
    950: '#000000',
  },
}
SCSS
$custom: #d2b85b;
$custom-light: #e2cd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b85b",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 91
  },
  "hsl": {
    "h": 46.891,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.78634,
    "c": 0.11687,
    "h": 93.9
  },
  "luminance": 0.48738
}

Semantic roles & 50–950 ramp

primary
#D2B85B
secondary
#ADB7DC
accent
#69E048
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2B85B

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

Preview Lab → · Contrast checker → · Palette generator →

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