#D6BC42#D6BC42

#D6BC42 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.6% C 0.140 H 96.9°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#D6BC42
RGBrgb(214, 188, 66)
HSLhsl(49, 64%, 55%)
HSVhsv(49, 69%, 84%)
CMYKcmyk(0%, 12.1%, 69.2%, 16.1%)
CIE-LABlab(76.47, -4.04, 62.30)
CIE-LCHlch(76.47, 62.44, 93.71°)
OKLaboklab(79.58% -0.0169 0.1393)
OKLCHoklch(79.58% 0.14 96.9)
XYZxyz(46.7004, 50.6583, 12.4714)
Luminance0.5066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6BC42 #425CD6
analogous
#D67242 #D6BC42 #A6D642
triadic
#D6BC42 #42D6BC #BC42D6
tetradic
#D6BC42 #42D672 #425CD6 #D642A6
square
#D6BC42 #42D672 #425CD6 #D642A6
split-complementary
#D6BC42 #42A6D6 #7242D6
monochromatic
#82701C #B49B27 #D6BC42 #E1CE74 #ECE0A7

Accessibility & contrast

On white

1.89
#D6BC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#D6BC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6BC42
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6BC42#FFFFFF#000000##000000
##D6BC421.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB831
Deuteranopia (green-blind)
#D5C049
Tritanopia (blue-blind)
#E7AEA3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d6bc42;
/* rgb */ color: rgb(214, 188, 66);
/* oklch */ color: oklch(79.6% 0.140 96.9);
Tailwind
colors: {
  custom: {
    50: '#e6cf7d',
    500: '#d6bc42',
    950: '#000000',
  },
}
SCSS
$custom: #d6bc42;
$custom-light: #e6cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d6bc42",
  "rgb": {
    "r": 214,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 49.459,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79583,
    "c": 0.14035,
    "h": 96.9
  },
  "luminance": 0.50656
}

Semantic roles & 50–950 ramp

primary
#D6BC42
secondary
#344388
accent
#5EE740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130A
muted
#85837D

Preview Lab

Preview with #D6BC42

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

Preview Lab → · Contrast checker → · Palette generator →

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