#D6B142#D6B142

#D6B142 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.3% C 0.133 H 90.2°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#D6B142
RGBrgb(214, 177, 66)
HSLhsl(45, 64%, 55%)
HSVhsv(45, 69%, 84%)
CMYKcmyk(0%, 17.3%, 69.2%, 16.1%)
CIE-LABlab(73.63, 1.72, 59.41)
CIE-LCHlch(73.63, 59.43, 88.34°)
OKLaboklab(77.34% -0.0004 0.1332)
OKLCHoklch(77.34% 0.133 90.2)
XYZxyz(44.4395, 46.1364, 11.7177)
Luminance0.4613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6B142 #4267D6
analogous
#D66742 #D6B142 #B1D642
triadic
#D6B142 #42D6B1 #B142D6
tetradic
#D6B142 #42D667 #4267D6 #D642B1
square
#D6B142 #42D667 #4267D6 #D642B1
split-complementary
#D6B142 #42B1D6 #6742D6
monochromatic
#82681C #B49127 #D6B142 #E1C674 #ECDBA7

Accessibility & contrast

On white

2.05
#D6B142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#D6B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6B142
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6B142#FFFFFF#000000##000000
##D6B1421.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF33
Deuteranopia (green-blind)
#CDB947
Tritanopia (blue-blind)
#E7A39A
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d6b142;
/* rgb */ color: rgb(214, 177, 66);
/* oklch */ color: oklch(77.3% 0.133 90.2);
Tailwind
colors: {
  custom: {
    50: '#e7c87c',
    500: '#d6b142',
    950: '#000000',
  },
}
SCSS
$custom: #d6b142;
$custom-light: #e7c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d6b142",
  "rgb": {
    "r": 214,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 45,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77341,
    "c": 0.13319,
    "h": 90.2
  },
  "luminance": 0.46134
}

Semantic roles & 50–950 ramp

primary
#D6B142
secondary
#9BAAD9
accent
#6AE740
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D6B142

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

Preview Lab → · Contrast checker → · Palette generator →

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