#D6B442#D6B442

#D6B442 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.9% C 0.135 H 92.1°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#D6B442
RGBrgb(214, 180, 66)
HSLhsl(46, 64%, 55%)
HSVhsv(46, 69%, 84%)
CMYKcmyk(0%, 15.9%, 69.2%, 16.1%)
CIE-LABlab(74.40, 0.14, 60.20)
CIE-LCHlch(74.40, 60.20, 89.87°)
OKLaboklab(77.95% -0.005 0.1349)
OKLCHoklch(77.95% 0.135 92.1)
XYZxyz(45.0385, 47.3346, 11.9174)
Luminance0.4733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6B442 #4264D6
analogous
#D66A42 #D6B442 #AED642
triadic
#D6B442 #42D6B4 #B442D6
tetradic
#D6B442 #42D66A #4264D6 #D642AE
square
#D6B442 #42D66A #4264D6 #D642AE
split-complementary
#D6B442 #42AED6 #6A42D6
monochromatic
#826A1C #B49327 #D6B442 #E1C874 #ECDCA7

Accessibility & contrast

On white

2.01
#D6B442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#D6B442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6B442
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6B442#FFFFFF#000000##000000
##D6B4421.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B133
Deuteranopia (green-blind)
#D0BB48
Tritanopia (blue-blind)
#E7A69D
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d6b442;
/* rgb */ color: rgb(214, 180, 66);
/* oklch */ color: oklch(77.9% 0.135 92.1);
Tailwind
colors: {
  custom: {
    50: '#e6ca7c',
    500: '#d6b442',
    950: '#000000',
  },
}
SCSS
$custom: #d6b442;
$custom-light: #e6ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d6b442",
  "rgb": {
    "r": 214,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 46.216,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77948,
    "c": 0.13495,
    "h": 92.1
  },
  "luminance": 0.47332
}

Semantic roles & 50–950 ramp

primary
#D6B442
secondary
#9BA9D9
accent
#67E740
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D6B442

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

Preview Lab → · Contrast checker → · Palette generator →

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