#D7BB5C#D7BB5C

#D7BB5C is a light, moderate yellow. Relative luminance 0.508; OKLCH L 79.7% C 0.119 H 93.1°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#D7BB5C
RGBrgb(215, 187, 92)
HSLhsl(46, 61%, 60%)
HSVhsv(46, 57%, 84%)
CMYKcmyk(0%, 13%, 57.2%, 15.7%)
CIE-LABlab(76.53, -1.44, 51.00)
CIE-LCHlch(76.53, 51.02, 91.62°)
OKLaboklab(79.73% -0.0065 0.1189)
OKLCHoklch(79.73% 0.119 93.1)
XYZxyz(47.7284, 50.7627, 17.4073)
Luminance0.5076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB5C #5C78D7
analogous
#D77D5C #D7BB5C #B6D75C
triadic
#D7BB5C #5CD7BB #BB5CD7
tetradic
#D7BB5C #5CD77D #5C78D7 #D75CB6
square
#D7BB5C #5CD77D #5C78D7 #D75CB6
split-complementary
#D7BB5C #5CB6D7 #7D5CD7
monochromatic
#947B24 #C5A330 #D7BB5C #E3CF8D #EFE4BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BB5C#FFFFFF#000000##000000
##D7BB5C1.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)
#CCB853
Deuteranopia (green-blind)
#D3C060
Tritanopia (blue-blind)
#E7AEA6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bb5c;
/* rgb */ color: rgb(215, 187, 92);
/* oklch */ color: oklch(79.7% 0.119 93.1);
Tailwind
colors: {
  custom: {
    50: '#e6cf8d',
    500: '#d7bb5c',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb5c;
$custom-light: #e6cf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb5c",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 92
  },
  "hsl": {
    "h": 46.341,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.79729,
    "c": 0.11912,
    "h": 93.1
  },
  "luminance": 0.5076
}

Semantic roles & 50–950 ramp

primary
#D7BB5C
secondary
#3E5399
accent
#44C81D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D7BB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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