#D7B954#D7B954

#D7B954 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.2% C 0.125 H 92.8°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#D7B954
RGBrgb(215, 185, 84)
HSLhsl(46, 62%, 59%)
HSVhsv(46, 61%, 84%)
CMYKcmyk(0%, 14%, 60.9%, 15.7%)
CIE-LABlab(75.94, -0.97, 54.04)
CIE-LCHlch(75.94, 54.05, 91.03°)
OKLaboklab(79.23% -0.0061 0.1245)
OKLCHoklch(79.23% 0.125 92.8)
XYZxyz(46.9756, 49.7875, 15.5214)
Luminance0.4979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B954 #5472D7
analogous
#D77754 #D7B954 #B3D754
triadic
#D7B954 #54D7B9 #B954D7
tetradic
#D7B954 #54D777 #5472D7 #D754B3
square
#D7B954 #54D777 #5472D7 #D754B3
split-complementary
#D7B954 #54B3D7 #7754D7
monochromatic
#8F7621 #C19F2D #D7B954 #E3CD86 #EEE2B7

Accessibility & contrast

On white

1.92
#D7B954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#D7B954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B954
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B954#FFFFFF#000000##000000
##D7B9541.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB649
Deuteranopia (green-blind)
#D2BF58
Tritanopia (blue-blind)
#E7ACA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d7b954;
/* rgb */ color: rgb(215, 185, 84);
/* oklch */ color: oklch(79.2% 0.125 92.8);
Tailwind
colors: {
  custom: {
    50: '#e6cd88',
    500: '#d7b954',
    950: '#000000',
  },
}
SCSS
$custom: #d7b954;
$custom-light: #e6cd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b954",
  "rgb": {
    "r": 215,
    "g": 185,
    "b": 84
  },
  "hsl": {
    "h": 46.26,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79232,
    "c": 0.12465,
    "h": 92.8
  },
  "luminance": 0.49785
}

Semantic roles & 50–950 ramp

primary
#D7B954
secondary
#A9B5DD
accent
#68E543
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D7B954

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

Preview Lab → · Contrast checker → · Palette generator →

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