#D6B542#D6B542

#D6B542 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.2% C 0.136 H 92.7°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#D6B542
RGBrgb(214, 181, 66)
HSLhsl(47, 64%, 55%)
HSVhsv(47, 69%, 84%)
CMYKcmyk(0%, 15.4%, 69.2%, 16.1%)
CIE-LABlab(74.66, -0.39, 60.46)
CIE-LCHlch(74.66, 60.46, 90.37°)
OKLaboklab(78.15% -0.0065 0.1354)
OKLCHoklch(78.15% 0.136 92.7)
XYZxyz(45.2411, 47.7398, 11.9850)
Luminance0.4774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6B542 #4263D6
analogous
#D66B42 #D6B542 #ADD642
triadic
#D6B542 #42D6B5 #B542D6
tetradic
#D6B542 #42D66B #4263D6 #D642AD
square
#D6B542 #42D66B #4263D6 #D642AD
split-complementary
#D6B542 #42ADD6 #6B42D6
monochromatic
#826B1C #B49427 #D6B542 #E1C974 #ECDCA7

Accessibility & contrast

On white

1.99
#D6B542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#D6B542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6B542
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6B542#FFFFFF#000000##000000
##D6B5421.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B232
Deuteranopia (green-blind)
#D0BC48
Tritanopia (blue-blind)
#E7A79D
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d6b542;
/* rgb */ color: rgb(214, 181, 66);
/* oklch */ color: oklch(78.2% 0.136 92.7);
Tailwind
colors: {
  custom: {
    50: '#e6ca7d',
    500: '#d6b542',
    950: '#000000',
  },
}
SCSS
$custom: #d6b542;
$custom-light: #e6ca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d6b542",
  "rgb": {
    "r": 214,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 46.622,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78151,
    "c": 0.13558,
    "h": 92.7
  },
  "luminance": 0.47737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D6B542

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

Preview Lab → · Contrast checker → · Palette generator →

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