#D2B866#D2B866

#D2B866 is a light, moderate yellow. Relative luminance 0.489; OKLCH L 78.8% C 0.106 H 92.2°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#D2B866
RGBrgb(210, 184, 102)
HSLhsl(46, 55%, 61%)
HSVhsv(46, 51%, 82%)
CMYKcmyk(0%, 12.4%, 51.4%, 17.6%)
CIE-LABlab(75.42, -1.14, 44.72)
CIE-LCHlch(75.42, 44.73, 91.45°)
OKLaboklab(78.77% -0.0041 0.1063)
OKLCHoklch(78.77% 0.106 92.2)
XYZxyz(46.1188, 48.9440, 19.5857)
Luminance0.4894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B866 #6680D2
analogous
#D28266 #D2B866 #B6D266
triadic
#D2B866 #66D2B8 #B866D2
tetradic
#D2B866 #66D282 #6680D2 #D266B6
square
#D2B866 #66D282 #6680D2 #D266B6
split-complementary
#D2B866 #66B6D2 #8266D2
monochromatic
#937A2B #C2A139 #D2B866 #E0CE95 #EEE4C5

Accessibility & contrast

On white

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

On black

10.79
#D2B866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B866
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B866#FFFFFF#000000##000000
##D2B8661.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B55F
Deuteranopia (green-blind)
#CEBD69
Tritanopia (blue-blind)
#E0ADA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d2b866;
/* rgb */ color: rgb(210, 184, 102);
/* oklch */ color: oklch(78.8% 0.106 92.2);
Tailwind
colors: {
  custom: {
    50: '#e2cd93',
    500: '#d2b866',
    950: '#000000',
  },
}
SCSS
$custom: #d2b866;
$custom-light: #e2cd93;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b866",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 102
  },
  "hsl": {
    "h": 45.556,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.78775,
    "c": 0.1064,
    "h": 92.2
  },
  "luminance": 0.48942
}

Semantic roles & 50–950 ramp

primary
#D2B866
secondary
#B6BFDE
accent
#4AC223
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#16130D
muted
#84827E

Preview Lab

Preview with #D2B866

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

Preview Lab → · Contrast checker → · Palette generator →

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