#D7B64D#D7B64D

#D7B64D is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.6% C 0.128 H 91.7°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#D7B64D
RGBrgb(215, 182, 77)
HSLhsl(46, 63%, 57%)
HSVhsv(46, 64%, 84%)
CMYKcmyk(0%, 15.3%, 64.2%, 15.7%)
CIE-LABlab(75.10, 0.15, 56.27)
CIE-LCHlch(75.10, 56.27, 89.85°)
OKLaboklab(78.55% -0.0037 0.1283)
OKLCHoklch(78.55% 0.128 91.7)
XYZxyz(46.0941, 48.4413, 13.9420)
Luminance0.4844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B64D #4D6ED7
analogous
#D7714D #D7B64D #B3D74D
triadic
#D7B64D #4DD7B6 #B64DD7
tetradic
#D7B64D #4DD771 #4D6ED7 #D74DB3
square
#D7B64D #4DD771 #4D6ED7 #D74DB3
split-complementary
#D7B64D #4DB3D7 #714DD7
monochromatic
#8A711F #BC9A2A #D7B64D #E2CA7F #EDDFB1

Accessibility & contrast

On white

1.96
#D7B64D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#D7B64D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B64D
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B64D#FFFFFF#000000##000000
##D7B64D1.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B341
Deuteranopia (green-blind)
#D1BD52
Tritanopia (blue-blind)
#E8A8A0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d7b64d;
/* rgb */ color: rgb(215, 182, 77);
/* oklch */ color: oklch(78.6% 0.128 91.7);
Tailwind
colors: {
  custom: {
    50: '#e7cb83',
    500: '#d7b64d',
    950: '#000000',
  },
}
SCSS
$custom: #d7b64d;
$custom-light: #e7cb83;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b64d",
  "rgb": {
    "r": 215,
    "g": 182,
    "b": 77
  },
  "hsl": {
    "h": 45.652,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78551,
    "c": 0.12832,
    "h": 91.7
  },
  "luminance": 0.48439
}

Semantic roles & 50–950 ramp

primary
#D7B64D
secondary
#A4B1DC
accent
#69E641
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B64D

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

Preview Lab → · Contrast checker → · Palette generator →

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