#D7BB55#D7BB55

#D7BB55 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.7% C 0.125 H 94.0°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#D7BB55
RGBrgb(215, 187, 85)
HSLhsl(47, 62%, 59%)
HSVhsv(47, 60%, 84%)
CMYKcmyk(0%, 13%, 60.5%, 15.7%)
CIE-LABlab(76.46, -1.94, 54.17)
CIE-LCHlch(76.46, 54.20, 92.06°)
OKLaboklab(79.65% -0.0088 0.1249)
OKLCHoklch(79.65% 0.125 94)
XYZxyz(47.4364, 50.6459, 15.8696)
Luminance0.5064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB55 #5571D7
analogous
#D77A55 #D7BB55 #B2D755
triadic
#D7BB55 #55D7BB #BB55D7
tetradic
#D7BB55 #55D77A #5571D7 #D755B2
square
#D7BB55 #55D77A #5571D7 #D755B2
split-complementary
#D7BB55 #55B2D7 #7A55D7
monochromatic
#907822 #C1A12D #D7BB55 #E3CF87 #EEE3B8

Accessibility & contrast

On white

1.89
#D7BB55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#D7BB55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BB55
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BB55#FFFFFF#000000##000000
##D7BB551.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB84A
Deuteranopia (green-blind)
#D4C05A
Tritanopia (blue-blind)
#E7AEA5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bb55;
/* rgb */ color: rgb(215, 187, 85);
/* oklch */ color: oklch(79.7% 0.125 94.0);
Tailwind
colors: {
  custom: {
    50: '#e6cf88',
    500: '#d7bb55',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb55;
$custom-light: #e6cf88;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb55",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 85
  },
  "hsl": {
    "h": 47.077,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.7965,
    "c": 0.12521,
    "h": 94
  },
  "luminance": 0.50644
}

Semantic roles & 50–950 ramp

primary
#D7BB55
secondary
#3B4E95
accent
#66E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D7BB55

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

Preview Lab → · Contrast checker → · Palette generator →

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