#D7BB56#D7BB56

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

Color values

HEX#D7BB56
RGBrgb(215, 187, 86)
HSLhsl(47, 62%, 59%)
HSVhsv(47, 60%, 84%)
CMYKcmyk(0%, 13%, 60%, 15.7%)
CIE-LABlab(76.47, -1.87, 53.72)
CIE-LCHlch(76.47, 53.75, 92.00°)
OKLaboklab(79.66% -0.0085 0.1241)
OKLCHoklch(79.66% 0.124 93.9)
XYZxyz(47.4764, 50.6620, 16.0803)
Luminance0.5066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB56 #5672D7
analogous
#D77B56 #D7BB56 #B2D756
triadic
#D7BB56 #56D7BB #BB56D7
tetradic
#D7BB56 #56D77B #5672D7 #D756B2
square
#D7BB56 #56D77B #5672D7 #D756B2
split-complementary
#D7BB56 #56B2D7 #7B56D7
monochromatic
#907822 #C2A22E #D7BB56 #E3CF87 #EEE3B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BB56#FFFFFF#000000##000000
##D7BB561.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)
#CDB84C
Deuteranopia (green-blind)
#D4C05B
Tritanopia (blue-blind)
#E7AEA5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bb56;
/* rgb */ color: rgb(215, 187, 86);
/* oklch */ color: oklch(79.7% 0.124 93.9);
Tailwind
colors: {
  custom: {
    50: '#e6cf89',
    500: '#d7bb56',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb56;
$custom-light: #e6cf89;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb56",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 86
  },
  "hsl": {
    "h": 46.977,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.79661,
    "c": 0.12437,
    "h": 93.9
  },
  "luminance": 0.5066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7BB56

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

Preview Lab → · Contrast checker → · Palette generator →

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