#D7B74F#D7B74F

#D7B74F is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.8% C 0.127 H 92.1°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#D7B74F
RGBrgb(215, 183, 79)
HSLhsl(46, 63%, 58%)
HSVhsv(46, 63%, 84%)
CMYKcmyk(0%, 14.9%, 63.3%, 15.7%)
CIE-LABlab(75.38, -0.25, 55.68)
CIE-LCHlch(75.38, 55.68, 90.26°)
OKLaboklab(78.77% -0.0046 0.1273)
OKLCHoklch(78.77% 0.127 92.1)
XYZxyz(46.3713, 48.8811, 14.3881)
Luminance0.4888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B74F #4F6FD7
analogous
#D7734F #D7B74F #B3D74F
triadic
#D7B74F #4FD7B7 #B74FD7
tetradic
#D7B74F #4FD773 #4F6FD7 #D74FB3
square
#D7B74F #4FD773 #4F6FD7 #D74FB3
split-complementary
#D7B74F #4FB3D7 #734FD7
monochromatic
#8C7220 #BE9B2B #D7B74F #E2CB81 #EEE0B3

Accessibility & contrast

On white

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

On black

10.78
#D7B74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B74F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B74F#FFFFFF#000000##000000
##D7B74F1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B443
Deuteranopia (green-blind)
#D1BE54
Tritanopia (blue-blind)
#E7A9A1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d7b74f;
/* rgb */ color: rgb(215, 183, 79);
/* oklch */ color: oklch(78.8% 0.127 92.1);
Tailwind
colors: {
  custom: {
    50: '#e7cc84',
    500: '#d7b74f',
    950: '#000000',
  },
}
SCSS
$custom: #d7b74f;
$custom-light: #e7cc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b74f",
  "rgb": {
    "r": 215,
    "g": 183,
    "b": 79
  },
  "hsl": {
    "h": 45.882,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78774,
    "c": 0.12739,
    "h": 92.1
  },
  "luminance": 0.48879
}

Semantic roles & 50–950 ramp

primary
#D7B74F
secondary
#A6B2DC
accent
#68E642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B74F

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

Preview Lab → · Contrast checker → · Palette generator →

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