#D2B95F#D2B95F

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

Color values

HEX#D2B95F
RGBrgb(210, 185, 95)
HSLhsl(47, 56%, 60%)
HSVhsv(47, 55%, 82%)
CMYKcmyk(0%, 11.9%, 54.8%, 17.6%)
CIE-LABlab(75.59, -2.25, 48.35)
CIE-LCHlch(75.59, 48.40, 92.66°)
OKLaboklab(78.89% -0.0082 0.1136)
OKLCHoklch(78.89% 0.114 94.1)
XYZxyz(45.9946, 49.2279, 17.9035)
Luminance0.4923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B95F #5F78D2
analogous
#D2805F #D2B95F #B1D25F
triadic
#D2B95F #5FD2B9 #B95FD2
tetradic
#D2B95F #5FD280 #5F78D2 #D25FB1
square
#D2B95F #5FD280 #5F78D2 #D25FB1
split-complementary
#D2B95F #5FB1D2 #805FD2
monochromatic
#8F7828 #BEA136 #D2B95F #DFCE8F #EDE3BF

Accessibility & contrast

On white

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

On black

10.85
#D2B95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B95F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B95F#FFFFFF#000000##000000
##D2B95F1.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b95f;
/* rgb */ color: rgb(210, 185, 95);
/* oklch */ color: oklch(78.9% 0.114 94.1);
Tailwind
colors: {
  custom: {
    50: '#e2cd8f',
    500: '#d2b95f',
    950: '#000000',
  },
}
SCSS
$custom: #d2b95f;
$custom-light: #e2cd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b95f",
  "rgb": {
    "r": 210,
    "g": 185,
    "b": 95
  },
  "hsl": {
    "h": 46.957,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.78888,
    "c": 0.11392,
    "h": 94.1
  },
  "luminance": 0.49226
}

Semantic roles & 50–950 ramp

primary
#D2B95F
secondary
#B0BADD
accent
#69DF48
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2B95F

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

Preview Lab → · Contrast checker → · Palette generator →

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