#D7B74C#D7B74C

#D7B74C is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.7% C 0.130 H 92.4°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#D7B74C
RGBrgb(215, 183, 76)
HSLhsl(46, 63%, 57%)
HSVhsv(46, 65%, 84%)
CMYKcmyk(0%, 14.9%, 64.7%, 15.7%)
CIE-LABlab(75.35, -0.44, 56.98)
CIE-LCHlch(75.35, 56.98, 90.44°)
OKLaboklab(78.74% -0.0055 0.1296)
OKLCHoklch(78.74% 0.13 92.4)
XYZxyz(46.2646, 48.8384, 13.8260)
Luminance0.4884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B74C #4C6CD7
analogous
#D7724C #D7B74C #B2D74C
triadic
#D7B74C #4CD7B7 #B74CD7
tetradic
#D7B74C #4CD772 #4C6CD7 #D74CB2
square
#D7B74C #4CD772 #4C6CD7 #D74CB2
split-complementary
#D7B74C #4CB2D7 #724CD7
monochromatic
#8A711F #BC9A2A #D7B74C #E2CB7E #EDDFB0

Accessibility & contrast

On white

1.95
#D7B74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#D7B74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B74C
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B74C#FFFFFF#000000##000000
##D7B74C1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B440
Deuteranopia (green-blind)
#D1BE51
Tritanopia (blue-blind)
#E8A9A0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d7b74c;
/* rgb */ color: rgb(215, 183, 76);
/* oklch */ color: oklch(78.7% 0.130 92.4);
Tailwind
colors: {
  custom: {
    50: '#e7cc83',
    500: '#d7b74c',
    950: '#000000',
  },
}
SCSS
$custom: #d7b74c;
$custom-light: #e7cc83;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b74c",
  "rgb": {
    "r": 215,
    "g": 183,
    "b": 76
  },
  "hsl": {
    "h": 46.187,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78744,
    "c": 0.12974,
    "h": 92.4
  },
  "luminance": 0.48836
}

Semantic roles & 50–950 ramp

primary
#D7B74C
secondary
#A3B0DC
accent
#67E641
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B74C

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

Preview Lab → · Contrast checker → · Palette generator →

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