#D6B642#D6B642

#D6B642 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.4% C 0.136 H 93.4°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#D6B642
RGBrgb(214, 182, 66)
HSLhsl(47, 64%, 55%)
HSVhsv(47, 69%, 84%)
CMYKcmyk(0%, 15%, 69.2%, 16.1%)
CIE-LABlab(74.92, -0.91, 60.73)
CIE-LCHlch(74.92, 60.73, 90.86°)
OKLaboklab(78.35% -0.008 0.136)
OKLCHoklch(78.35% 0.136 93.4)
XYZxyz(45.4452, 48.1479, 12.0530)
Luminance0.4814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6B642 #4262D6
analogous
#D66C42 #D6B642 #ACD642
triadic
#D6B642 #42D6B6 #B642D6
tetradic
#D6B642 #42D66C #4262D6 #D642AC
square
#D6B642 #42D66C #4262D6 #D642AC
split-complementary
#D6B642 #42ACD6 #6C42D6
monochromatic
#826C1C #B49527 #D6B642 #E1C974 #ECDDA7

Accessibility & contrast

On white

1.98
#D6B642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#D6B642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6B642
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6B642#FFFFFF#000000##000000
##D6B6421.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B332
Deuteranopia (green-blind)
#D1BC48
Tritanopia (blue-blind)
#E7A89E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d6b642;
/* rgb */ color: rgb(214, 182, 66);
/* oklch */ color: oklch(78.4% 0.136 93.4);
Tailwind
colors: {
  custom: {
    50: '#e6cb7d',
    500: '#d6b642',
    950: '#000000',
  },
}
SCSS
$custom: #d6b642;
$custom-light: #e6cb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d6b642",
  "rgb": {
    "r": 214,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 47.027,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78355,
    "c": 0.13621,
    "h": 93.4
  },
  "luminance": 0.48145
}

Semantic roles & 50–950 ramp

primary
#D6B642
secondary
#9BA8D9
accent
#65E740
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D6B642

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

Preview Lab → · Contrast checker → · Palette generator →

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