#D7B84F#D7B84F

#D7B84F is a light, vivid yellow. Relative luminance 0.493; OKLCH L 79.0% C 0.128 H 92.7°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#D7B84F
RGBrgb(215, 184, 79)
HSLhsl(46, 63%, 58%)
HSVhsv(46, 63%, 84%)
CMYKcmyk(0%, 14.4%, 63.3%, 15.7%)
CIE-LABlab(75.63, -0.77, 55.96)
CIE-LCHlch(75.63, 55.96, 90.79°)
OKLaboklab(78.98% -0.0061 0.1279)
OKLCHoklch(78.98% 0.128 92.7)
XYZxyz(46.5783, 49.2950, 14.4571)
Luminance0.4929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B84F #4F6ED7
analogous
#D7744F #D7B84F #B2D74F
triadic
#D7B84F #4FD7B8 #B84FD7
tetradic
#D7B84F #4FD774 #4F6ED7 #D74FB2
square
#D7B84F #4FD774 #4F6ED7 #D74FB2
split-complementary
#D7B84F #4FB2D7 #744FD7
monochromatic
#8C7320 #BE9C2B #D7B84F #E2CC81 #EEE0B3

Accessibility & contrast

On white

1.93
#D7B84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#D7B84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B84F
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B84F#FFFFFF#000000##000000
##D7B84F1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB543
Deuteranopia (green-blind)
#D2BE54
Tritanopia (blue-blind)
#E7AAA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d7b84f;
/* rgb */ color: rgb(215, 184, 79);
/* oklch */ color: oklch(79.0% 0.128 92.7);
Tailwind
colors: {
  custom: {
    50: '#e7cd85',
    500: '#d7b84f',
    950: '#000000',
  },
}
SCSS
$custom: #d7b84f;
$custom-light: #e7cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b84f",
  "rgb": {
    "r": 215,
    "g": 184,
    "b": 79
  },
  "hsl": {
    "h": 46.324,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78977,
    "c": 0.12805,
    "h": 92.7
  },
  "luminance": 0.49293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7B84F

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

Preview Lab → · Contrast checker → · Palette generator →

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