#D7BD5B#D7BD5B

#D7BD5B is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.1% C 0.121 H 94.6°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#D7BD5B
RGBrgb(215, 189, 91)
HSLhsl(47, 61%, 60%)
HSVhsv(47, 58%, 84%)
CMYKcmyk(0%, 12.1%, 57.7%, 15.7%)
CIE-LABlab(77.04, -2.56, 52.05)
CIE-LCHlch(77.04, 52.11, 92.81°)
OKLaboklab(80.13% -0.0098 0.1211)
OKLCHoklch(80.13% 0.121 94.6)
XYZxyz(48.1122, 51.5999, 17.3210)
Luminance0.5160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BD5B #5B75D7
analogous
#D77F5B #D7BD5B #B3D75B
triadic
#D7BD5B #5BD7BD #BD5BD7
tetradic
#D7BD5B #5BD77F #5B75D7 #D75BB3
square
#D7BD5B #5BD77F #5B75D7 #D75BB3
split-complementary
#D7BD5B #5BB3D7 #7F5BD7
monochromatic
#947C24 #C5A630 #D7BD5B #E3D18C #EFE5BD

Accessibility & contrast

On white

1.86
#D7BD5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#D7BD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BD5B
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BD5B#FFFFFF#000000##000000
##D7BD5B1.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA51
Deuteranopia (green-blind)
#D5C25F
Tritanopia (blue-blind)
#E7B0A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d7bd5b;
/* rgb */ color: rgb(215, 189, 91);
/* oklch */ color: oklch(80.1% 0.121 94.6);
Tailwind
colors: {
  custom: {
    50: '#e6d08c',
    500: '#d7bd5b',
    950: '#000000',
  },
}
SCSS
$custom: #d7bd5b;
$custom-light: #e6d08c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bd5b",
  "rgb": {
    "r": 215,
    "g": 189,
    "b": 91
  },
  "hsl": {
    "h": 47.419,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.80125,
    "c": 0.12149,
    "h": 94.6
  },
  "luminance": 0.51598
}

Semantic roles & 50–950 ramp

primary
#D7BD5B
secondary
#3E5199
accent
#65E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D7BD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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