#D7BB52#D7BB52

#D7BB52 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.6% C 0.128 H 94.4°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#D7BB52
RGBrgb(215, 187, 82)
HSLhsl(47, 62%, 58%)
HSVhsv(47, 62%, 84%)
CMYKcmyk(0%, 13%, 61.9%, 15.7%)
CIE-LABlab(76.44, -2.15, 55.50)
CIE-LCHlch(76.44, 55.54, 92.22°)
OKLaboklab(79.62% -0.0097 0.1273)
OKLCHoklch(79.62% 0.128 94.4)
XYZxyz(47.3198, 50.5993, 15.2552)
Luminance0.5060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB52 #526ED7
analogous
#D77852 #D7BB52 #B1D752
triadic
#D7BB52 #52D7BB #BB52D7
tetradic
#D7BB52 #52D778 #526ED7 #D752B1
square
#D7BB52 #52D778 #526ED7 #D752B1
split-complementary
#D7BB52 #52B1D7 #7852D7
monochromatic
#8E7721 #C0A12C #D7BB52 #E2CF84 #EEE2B5

Accessibility & contrast

On white

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

On black

11.12
#D7BB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BB52
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BB52#FFFFFF#000000##000000
##D7BB521.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB847
Deuteranopia (green-blind)
#D4C057
Tritanopia (blue-blind)
#E7AEA4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bb52;
/* rgb */ color: rgb(215, 187, 82);
/* oklch */ color: oklch(79.6% 0.128 94.4);
Tailwind
colors: {
  custom: {
    50: '#e6cf87',
    500: '#d7bb52',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb52;
$custom-light: #e6cf87;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb52",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 47.368,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79619,
    "c": 0.12771,
    "h": 94.4
  },
  "luminance": 0.50597
}

Semantic roles & 50–950 ramp

primary
#D7BB52
secondary
#3A4D93
accent
#65E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BB52

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

Preview Lab → · Contrast checker → · Palette generator →

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