#D6B962#D6B962

#D6B962 is a light, moderate yellow. Relative luminance 0.499; OKLCH L 79.3% C 0.112 H 91.3°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#D6B962
RGBrgb(214, 185, 98)
HSLhsl(45, 59%, 61%)
HSVhsv(45, 54%, 84%)
CMYKcmyk(0%, 13.6%, 54.2%, 16.1%)
CIE-LABlab(75.99, -0.34, 47.46)
CIE-LCHlch(75.99, 47.46, 90.41°)
OKLaboklab(79.3% -0.0025 0.1119)
OKLCHoklch(79.3% 0.112 91.3)
XYZxyz(47.2870, 49.8782, 18.6896)
Luminance0.4988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6B962 #627FD6
analogous
#D67F62 #D6B962 #B9D662
triadic
#D6B962 #62D6B9 #B962D6
tetradic
#D6B962 #62D67F #627FD6 #D662B9
square
#D6B962 #62D67F #627FD6 #D662B9
split-complementary
#D6B962 #62B9D6 #7F62D6
monochromatic
#967B27 #C7A234 #D6B962 #E3CF93 #EFE4C3

Accessibility & contrast

On white

1.91
#D6B962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#D6B962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6B962
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6B962#FFFFFF#000000##000000
##D6B9621.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB65A
Deuteranopia (green-blind)
#D1BF65
Tritanopia (blue-blind)
#E5ADA5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d6b962;
/* rgb */ color: rgb(214, 185, 98);
/* oklch */ color: oklch(79.3% 0.112 91.3);
Tailwind
colors: {
  custom: {
    50: '#e5cd91',
    500: '#d6b962',
    950: '#000000',
  },
}
SCSS
$custom: #d6b962;
$custom-light: #e5cd91;
$custom-dark: #000000;
JSON
{
  "hex": "#d6b962",
  "rgb": {
    "r": 214,
    "g": 185,
    "b": 98
  },
  "hsl": {
    "h": 45,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.79302,
    "c": 0.11194,
    "h": 91.3
  },
  "luminance": 0.49876
}

Semantic roles & 50–950 ramp

primary
#D6B962
secondary
#B4BFE0
accent
#49C61F
background
#FEFCF9
surface
#FDF9F1
border
#D5D2CB
text
#16130D
muted
#84827E

Preview Lab

Preview with #D6B962

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

Preview Lab → · Contrast checker → · Palette generator →

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