#D6BB42#D6BB42

#D6BB42 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.4% C 0.140 H 96.4°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#D6BB42
RGBrgb(214, 187, 66)
HSLhsl(49, 64%, 55%)
HSVhsv(49, 69%, 84%)
CMYKcmyk(0%, 12.6%, 69.2%, 16.1%)
CIE-LABlab(76.21, -3.52, 62.04)
CIE-LCHlch(76.21, 62.14, 93.25°)
OKLaboklab(79.38% -0.0155 0.1388)
OKLCHoklch(79.38% 0.14 96.4)
XYZxyz(46.4875, 50.2325, 12.4004)
Luminance0.5023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6BB42 #425DD6
analogous
#D67142 #D6BB42 #A7D642
triadic
#D6BB42 #42D6BB #BB42D6
tetradic
#D6BB42 #42D671 #425DD6 #D642A7
square
#D6BB42 #42D671 #425DD6 #D642A7
split-complementary
#D6BB42 #42A7D6 #7142D6
monochromatic
#826F1C #B49A27 #D6BB42 #E1CD74 #ECDFA7

Accessibility & contrast

On white

1.90
#D6BB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#D6BB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6BB42
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6BB42#FFFFFF#000000##000000
##D6BB421.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB731
Deuteranopia (green-blind)
#D5C049
Tritanopia (blue-blind)
#E7ADA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d6bb42;
/* rgb */ color: rgb(214, 187, 66);
/* oklch */ color: oklch(79.4% 0.140 96.4);
Tailwind
colors: {
  custom: {
    50: '#e6cf7d',
    500: '#d6bb42',
    950: '#000000',
  },
}
SCSS
$custom: #d6bb42;
$custom-light: #e6cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d6bb42",
  "rgb": {
    "r": 214,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 49.054,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79378,
    "c": 0.13962,
    "h": 96.4
  },
  "luminance": 0.5023
}

Semantic roles & 50–950 ramp

primary
#D6BB42
secondary
#344388
accent
#5FE740
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130A
muted
#85837D

Preview Lab

Preview with #D6BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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