#D2B862#D2B862

#D2B862 is a light, moderate yellow. Relative luminance 0.489; OKLCH L 78.7% C 0.110 H 92.9°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#D2B862
RGBrgb(210, 184, 98)
HSLhsl(46, 55%, 60%)
HSVhsv(46, 53%, 82%)
CMYKcmyk(0%, 12.4%, 53.3%, 17.6%)
CIE-LABlab(75.37, -1.48, 46.63)
CIE-LCHlch(75.37, 46.65, 91.82°)
OKLaboklab(78.72% -0.0056 0.1102)
OKLCHoklch(78.72% 0.11 92.9)
XYZxyz(45.9252, 48.8666, 18.5660)
Luminance0.4886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B862 #627CD2
analogous
#D28062 #D2B862 #B4D262
triadic
#D2B862 #62D2B8 #B862D2
tetradic
#D2B862 #62D280 #627CD2 #D262B4
square
#D2B862 #62D280 #627CD2 #D262B4
split-complementary
#D2B862 #62B4D2 #8062D2
monochromatic
#907829 #C0A037 #D2B862 #E0CE92 #EDE3C1

Accessibility & contrast

On white

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

On black

10.77
#D2B862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B862
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B862#FFFFFF#000000##000000
##D2B8621.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B55A
Deuteranopia (green-blind)
#CFBD65
Tritanopia (blue-blind)
#E1ACA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d2b862;
/* rgb */ color: rgb(210, 184, 98);
/* oklch */ color: oklch(78.7% 0.110 92.9);
Tailwind
colors: {
  custom: {
    50: '#e2cd91',
    500: '#d2b862',
    950: '#000000',
  },
}
SCSS
$custom: #d2b862;
$custom-light: #e2cd91;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b862",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 98
  },
  "hsl": {
    "h": 46.071,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.78721,
    "c": 0.1103,
    "h": 92.9
  },
  "luminance": 0.48864
}

Semantic roles & 50–950 ramp

primary
#D2B862
secondary
#B3BCDD
accent
#48C323
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#16130D
muted
#84827E

Preview Lab

Preview with #D2B862

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

Preview Lab → · Contrast checker → · Palette generator →

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