#D7B64F#D7B64F

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

Color values

HEX#D7B64F
RGBrgb(215, 182, 79)
HSLhsl(45, 63%, 58%)
HSVhsv(45, 63%, 84%)
CMYKcmyk(0%, 15.3%, 63.3%, 15.7%)
CIE-LABlab(75.12, 0.27, 55.40)
CIE-LCHlch(75.12, 55.40, 89.72°)
OKLaboklab(78.57% -0.0031 0.1267)
OKLCHoklch(78.57% 0.127 91.4)
XYZxyz(46.1658, 48.4700, 14.3196)
Luminance0.4847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B64F #4F70D7
analogous
#D7724F #D7B64F #B4D74F
triadic
#D7B64F #4FD7B6 #B64FD7
tetradic
#D7B64F #4FD772 #4F70D7 #D74FB4
square
#D7B64F #4FD772 #4F70D7 #D74FB4
split-complementary
#D7B64F #4FB4D7 #724FD7
monochromatic
#8C7220 #BE9A2B #D7B64F #E2CB81 #EEDFB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7B64F#FFFFFF#000000##000000
##D7B64F1.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)
#C8B344
Deuteranopia (green-blind)
#D1BD54
Tritanopia (blue-blind)
#E8A8A0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d7b64f;
/* rgb */ color: rgb(215, 182, 79);
/* oklch */ color: oklch(78.6% 0.127 91.4);
Tailwind
colors: {
  custom: {
    50: '#e7cb84',
    500: '#d7b64f',
    950: '#000000',
  },
}
SCSS
$custom: #d7b64f;
$custom-light: #e7cb84;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b64f",
  "rgb": {
    "r": 215,
    "g": 182,
    "b": 79
  },
  "hsl": {
    "h": 45.441,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78571,
    "c": 0.12675,
    "h": 91.4
  },
  "luminance": 0.48467
}

Semantic roles & 50–950 ramp

primary
#D7B64F
secondary
#A6B3DC
accent
#6AE642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B64F

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

Preview Lab → · Contrast checker → · Palette generator →

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