#D2B95E#D2B95E

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

Color values

HEX#D2B95E
RGBrgb(210, 185, 94)
HSLhsl(47, 56%, 60%)
HSVhsv(47, 55%, 82%)
CMYKcmyk(0%, 11.9%, 55.2%, 17.6%)
CIE-LABlab(75.58, -2.33, 48.82)
CIE-LCHlch(75.58, 48.87, 92.73°)
OKLaboklab(78.88% -0.0085 0.1145)
OKLCHoklch(78.88% 0.115 94.2)
XYZxyz(45.9495, 49.2098, 17.6656)
Luminance0.4921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B95E #5E77D2
analogous
#D27F5E #D2B95E #B1D25E
triadic
#D2B95E #5ED2B9 #B95ED2
tetradic
#D2B95E #5ED27F #5E77D2 #D25EB1
square
#D2B95E #5ED27F #5E77D2 #D25EB1
split-complementary
#D2B95E #5EB1D2 #7F5ED2
monochromatic
#8E7828 #BEA035 #D2B95E #DFCE8E #EDE3BE

Accessibility & contrast

On white

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

On black

10.84
#D2B95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B95E
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B95E#FFFFFF#000000##000000
##D2B95E1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b95e;
/* rgb */ color: rgb(210, 185, 94);
/* oklch */ color: oklch(78.9% 0.115 94.2);
Tailwind
colors: {
  custom: {
    50: '#e2cd8e',
    500: '#d2b95e',
    950: '#000000',
  },
}
SCSS
$custom: #d2b95e;
$custom-light: #e2cd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b95e",
  "rgb": {
    "r": 210,
    "g": 185,
    "b": 94
  },
  "hsl": {
    "h": 47.069,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.78875,
    "c": 0.11486,
    "h": 94.2
  },
  "luminance": 0.49208
}

Semantic roles & 50–950 ramp

primary
#D2B95E
secondary
#AFB9DC
accent
#69E048
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2B95E

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

Preview Lab → · Contrast checker → · Palette generator →

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