#D7BB5B#D7BB5B

#D7BB5B is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.7% C 0.120 H 93.3°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#D7BB5B
RGBrgb(215, 187, 91)
HSLhsl(46, 61%, 60%)
HSVhsv(46, 58%, 84%)
CMYKcmyk(0%, 13%, 57.7%, 15.7%)
CIE-LABlab(76.52, -1.51, 51.45)
CIE-LCHlch(76.52, 51.48, 91.68°)
OKLaboklab(79.72% -0.0068 0.1198)
OKLCHoklch(79.72% 0.12 93.3)
XYZxyz(47.6850, 50.7454, 17.1786)
Luminance0.5074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB5B #5B77D7
analogous
#D77D5B #D7BB5B #B5D75B
triadic
#D7BB5B #5BD7BB #BB5BD7
tetradic
#D7BB5B #5BD77D #5B77D7 #D75BB5
square
#D7BB5B #5BD77D #5B77D7 #D75BB5
split-complementary
#D7BB5B #5BB5D7 #7D5BD7
monochromatic
#947A24 #C5A330 #D7BB5B #E3CF8C #EFE4BD

Accessibility & contrast

On white

1.88
#D7BB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#D7BB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BB5B
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BB5B#FFFFFF#000000##000000
##D7BB5B1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7bb5b;
/* rgb */ color: rgb(215, 187, 91);
/* oklch */ color: oklch(79.7% 0.120 93.3);
Tailwind
colors: {
  custom: {
    50: '#e6cf8c',
    500: '#d7bb5b',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb5b;
$custom-light: #e6cf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb5b",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 91
  },
  "hsl": {
    "h": 46.452,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.79717,
    "c": 0.12,
    "h": 93.3
  },
  "luminance": 0.50743
}

Semantic roles & 50–950 ramp

primary
#D7BB5B
secondary
#3E5299
accent
#68E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D7BB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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