#D6B640#D6B640

#D6B640 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.3% C 0.138 H 93.6°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#D6B640
RGBrgb(214, 182, 64)
HSLhsl(47, 65%, 55%)
HSVhsv(47, 70%, 84%)
CMYKcmyk(0%, 15%, 70.1%, 16.1%)
CIE-LABlab(74.90, -1.01, 61.52)
CIE-LCHlch(74.90, 61.53, 90.94°)
OKLaboklab(78.34% -0.0085 0.1373)
OKLCHoklch(78.34% 0.138 93.6)
XYZxyz(45.3873, 48.1247, 11.7479)
Luminance0.4812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6B640 #4060D6
analogous
#D66B40 #D6B640 #ABD640
triadic
#D6B640 #40D6B6 #B640D6
tetradic
#D6B640 #40D66B #4060D6 #D640AB
square
#D6B640 #40D66B #4060D6 #D640AB
split-complementary
#D6B640 #40ABD6 #6B40D6
monochromatic
#806B1B #B29526 #D6B640 #E1C972 #ECDDA5

Accessibility & contrast

On white

1.98
#D6B640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#D6B640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6B640
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6B640#FFFFFF#000000##000000
##D6B6401.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32F
Deuteranopia (green-blind)
#D1BC46
Tritanopia (blue-blind)
#E7A89E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d6b640;
/* rgb */ color: rgb(214, 182, 64);
/* oklch */ color: oklch(78.3% 0.138 93.6);
Tailwind
colors: {
  custom: {
    50: '#e7cb7b',
    500: '#d6b640',
    950: '#000000',
  },
}
SCSS
$custom: #d6b640;
$custom-light: #e7cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d6b640",
  "rgb": {
    "r": 214,
    "g": 182,
    "b": 64
  },
  "hsl": {
    "h": 47.2,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78339,
    "c": 0.13756,
    "h": 93.6
  },
  "luminance": 0.48122
}

Semantic roles & 50–950 ramp

primary
#D6B640
secondary
#99A7D9
accent
#64E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D6B640

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

Preview Lab → · Contrast checker → · Palette generator →

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