#D6B942#D6B942

#D6B942 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 79.0% C 0.138 H 95.2°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#D6B942
RGBrgb(214, 185, 66)
HSLhsl(48, 64%, 55%)
HSVhsv(48, 69%, 84%)
CMYKcmyk(0%, 13.6%, 69.2%, 16.1%)
CIE-LABlab(75.69, -2.48, 61.51)
CIE-LCHlch(75.69, 61.56, 92.31°)
OKLaboklab(78.97% -0.0125 0.1376)
OKLCHoklch(78.97% 0.138 95.2)
XYZxyz(46.0662, 49.3899, 12.2600)
Luminance0.4939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6B942 #425FD6
analogous
#D66F42 #D6B942 #A9D642
triadic
#D6B942 #42D6B9 #B942D6
tetradic
#D6B942 #42D66F #425FD6 #D642A9
square
#D6B942 #42D66F #425FD6 #D642A9
split-complementary
#D6B942 #42A9D6 #6F42D6
monochromatic
#826E1C #B49827 #D6B942 #E1CC74 #ECDEA7

Accessibility & contrast

On white

1.93
#D6B942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#D6B942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6B942
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6B942#FFFFFF#000000##000000
##D6B9421.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB532
Deuteranopia (green-blind)
#D3BE48
Tritanopia (blue-blind)
#E7ABA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d6b942;
/* rgb */ color: rgb(214, 185, 66);
/* oklch */ color: oklch(79.0% 0.138 95.2);
Tailwind
colors: {
  custom: {
    50: '#e6cd7d',
    500: '#d6b942',
    950: '#000000',
  },
}
SCSS
$custom: #d6b942;
$custom-light: #e6cd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d6b942",
  "rgb": {
    "r": 214,
    "g": 185,
    "b": 66
  },
  "hsl": {
    "h": 48.243,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78967,
    "c": 0.13821,
    "h": 95.2
  },
  "luminance": 0.49387
}

Semantic roles & 50–950 ramp

primary
#D6B942
secondary
#9BA7D9
accent
#61E740
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D6B942

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

Preview Lab → · Contrast checker → · Palette generator →

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