#D7B74A#D7B74A

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

Color values

HEX#D7B74A
RGBrgb(215, 183, 74)
HSLhsl(46, 64%, 57%)
HSVhsv(46, 66%, 84%)
CMYKcmyk(0%, 14.9%, 65.6%, 15.7%)
CIE-LABlab(75.33, -0.56, 57.83)
CIE-LCHlch(75.33, 57.83, 90.55°)
OKLaboklab(78.72% -0.0061 0.1311)
OKLCHoklch(78.72% 0.131 92.7)
XYZxyz(46.1961, 48.8110, 13.4654)
Luminance0.4881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B74A #4A6AD7
analogous
#D7714A #D7B74A #B1D74A
triadic
#D7B74A #4AD7B7 #B74AD7
tetradic
#D7B74A #4AD771 #4A6AD7 #D74AB1
square
#D7B74A #4AD771 #4A6AD7 #D74AB1
split-complementary
#D7B74A #4AB1D7 #714AD7
monochromatic
#88701E #BB9A29 #D7B74A #E2CB7C #EDDFAE

Accessibility & contrast

On white

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

On black

10.76
#D7B74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B74A
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B74A#FFFFFF#000000##000000
##D7B74A1.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7b74a;
/* rgb */ color: rgb(215, 183, 74);
/* oklch */ color: oklch(78.7% 0.131 92.7);
Tailwind
colors: {
  custom: {
    50: '#e7cc81',
    500: '#d7b74a',
    950: '#000000',
  },
}
SCSS
$custom: #d7b74a;
$custom-light: #e7cc81;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b74a",
  "rgb": {
    "r": 215,
    "g": 183,
    "b": 74
  },
  "hsl": {
    "h": 46.383,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78725,
    "c": 0.13127,
    "h": 92.7
  },
  "luminance": 0.48808
}

Semantic roles & 50–950 ramp

primary
#D7B74A
secondary
#A2AFDB
accent
#67E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B74A

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

Preview Lab → · Contrast checker → · Palette generator →

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