#D2B85E#D2B85E

#D2B85E is a light, moderate yellow. Relative luminance 0.488; OKLCH L 78.7% C 0.114 H 93.5°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#D2B85E
RGBrgb(210, 184, 94)
HSLhsl(47, 56%, 60%)
HSVhsv(47, 55%, 82%)
CMYKcmyk(0%, 12.4%, 55.2%, 17.6%)
CIE-LABlab(75.32, -1.81, 48.51)
CIE-LCHlch(75.32, 48.55, 92.13°)
OKLaboklab(78.67% -0.007 0.1139)
OKLCHoklch(78.67% 0.114 93.5)
XYZxyz(45.7410, 48.7929, 17.5961)
Luminance0.4879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B85E #5E78D2
analogous
#D27E5E #D2B85E #B2D25E
triadic
#D2B85E #5ED2B8 #B85ED2
tetradic
#D2B85E #5ED27E #5E78D2 #D25EB2
square
#D2B85E #5ED27E #5E78D2 #D25EB2
split-complementary
#D2B85E #5EB2D2 #7E5ED2
monochromatic
#8E7728 #BE9F35 #D2B85E #DFCD8E #EDE2BE

Accessibility & contrast

On white

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

On black

10.76
#D2B85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B85E
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B85E#FFFFFF#000000##000000
##D2B85E1.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b85e;
/* rgb */ color: rgb(210, 184, 94);
/* oklch */ color: oklch(78.7% 0.114 93.5);
Tailwind
colors: {
  custom: {
    50: '#e2cd8e',
    500: '#d2b85e',
    950: '#000000',
  },
}
SCSS
$custom: #d2b85e;
$custom-light: #e2cd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b85e",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 94
  },
  "hsl": {
    "h": 46.552,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.7867,
    "c": 0.11409,
    "h": 93.5
  },
  "luminance": 0.48791
}

Semantic roles & 50–950 ramp

primary
#D2B85E
secondary
#AFB9DC
accent
#6AE048
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2B85E

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

Preview Lab → · Contrast checker → · Palette generator →

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