#D6B339#D6B339

#D6B339 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.7% C 0.140 H 92.4°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#D6B339
RGBrgb(214, 179, 57)
HSLhsl(47, 66%, 53%)
HSVhsv(47, 73%, 84%)
CMYKcmyk(0%, 16.4%, 73.4%, 16.1%)
CIE-LABlab(74.08, 0.23, 63.42)
CIE-LCHlch(74.08, 63.42, 89.80°)
OKLaboklab(77.68% -0.0058 0.14)
OKLCHoklch(77.68% 0.14 92.4)
XYZxyz(44.5926, 46.8344, 10.5613)
Luminance0.4683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6B339 #395CD6
analogous
#D66439 #D6B339 #AAD639
triadic
#D6B339 #39D6B3 #B339D6
tetradic
#D6B339 #39D664 #395CD6 #D639AA
square
#D6B339 #39D664 #395CD6 #D639AA
split-complementary
#D6B339 #39AAD6 #6439D6
monochromatic
#7B6519 #AE8F24 #D6B339 #E0C66C #EBDA9E

Accessibility & contrast

On white

2.03
#D6B339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#D6B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6B339
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6B339#FFFFFF#000000##000000
##D6B3391.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B025
Deuteranopia (green-blind)
#CFBA40
Tritanopia (blue-blind)
#E7A49B
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d6b339;
/* rgb */ color: rgb(214, 179, 57);
/* oklch */ color: oklch(77.7% 0.140 92.4);
Tailwind
colors: {
  custom: {
    50: '#e7c977',
    500: '#d6b339',
    950: '#000000',
  },
}
SCSS
$custom: #d6b339;
$custom-light: #e7c977;
$custom-dark: #000000;
JSON
{
  "hex": "#d6b339",
  "rgb": {
    "r": 214,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 46.624,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77676,
    "c": 0.14016,
    "h": 92.4
  },
  "luminance": 0.46832
}

Semantic roles & 50–950 ramp

primary
#D6B339
secondary
#94A3D7
accent
#65E93F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D6B339

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

Preview Lab → · Contrast checker → · Palette generator →

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