#D7B54D#D7B54D

#D7B54D is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.3% C 0.128 H 91.0°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#D7B54D
RGBrgb(215, 181, 77)
HSLhsl(45, 63%, 57%)
HSVhsv(45, 64%, 84%)
CMYKcmyk(0%, 15.8%, 64.2%, 15.7%)
CIE-LABlab(74.85, 0.67, 55.99)
CIE-LCHlch(74.85, 55.99, 89.31°)
OKLaboklab(78.35% -0.0022 0.1277)
OKLCHoklch(78.35% 0.128 91)
XYZxyz(45.8900, 48.0332, 13.8740)
Luminance0.4803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B54D #4D6FD7
analogous
#D7704D #D7B54D #B4D74D
triadic
#D7B54D #4DD7B5 #B54DD7
tetradic
#D7B54D #4DD770 #4D6FD7 #D74DB4
square
#D7B54D #4DD770 #4D6FD7 #D74DB4
split-complementary
#D7B54D #4DB4D7 #704DD7
monochromatic
#8A701F #BC982A #D7B54D #E2CA7F #EDDFB1

Accessibility & contrast

On white

1.98
#D7B54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#D7B54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B54D
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B54D#FFFFFF#000000##000000
##D7B54D1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B341
Deuteranopia (green-blind)
#D0BC52
Tritanopia (blue-blind)
#E8A79F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d7b54d;
/* rgb */ color: rgb(215, 181, 77);
/* oklch */ color: oklch(78.3% 0.128 91.0);
Tailwind
colors: {
  custom: {
    50: '#e7ca83',
    500: '#d7b54d',
    950: '#000000',
  },
}
SCSS
$custom: #d7b54d;
$custom-light: #e7ca83;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b54d",
  "rgb": {
    "r": 215,
    "g": 181,
    "b": 77
  },
  "hsl": {
    "h": 45.217,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78349,
    "c": 0.1277,
    "h": 91
  },
  "luminance": 0.48031
}

Semantic roles & 50–950 ramp

primary
#D7B54D
secondary
#A4B2DC
accent
#6AE641
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B54D

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

Preview Lab → · Contrast checker → · Palette generator →

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