#D7BB57#D7BB57

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

Color values

HEX#D7BB57
RGBrgb(215, 187, 87)
HSLhsl(47, 62%, 59%)
HSVhsv(47, 60%, 84%)
CMYKcmyk(0%, 13%, 59.5%, 15.7%)
CIE-LABlab(76.48, -1.80, 53.27)
CIE-LCHlch(76.48, 53.30, 91.94°)
OKLaboklab(79.67% -0.0081 0.1232)
OKLCHoklch(79.67% 0.124 93.8)
XYZxyz(47.5170, 50.6782, 16.2940)
Luminance0.5068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB57 #5773D7
analogous
#D77B57 #D7BB57 #B3D757
triadic
#D7BB57 #57D7BB #BB57D7
tetradic
#D7BB57 #57D77B #5773D7 #D757B3
square
#D7BB57 #57D77B #5773D7 #D757B3
split-complementary
#D7BB57 #57B3D7 #7B57D7
monochromatic
#917923 #C2A22E #D7BB57 #E3CF88 #EFE3BA

Accessibility & contrast

On white

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

On black

11.14
#D7BB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BB57
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BB57#FFFFFF#000000##000000
##D7BB571.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7bb57;
/* rgb */ color: rgb(215, 187, 87);
/* oklch */ color: oklch(79.7% 0.124 93.8);
Tailwind
colors: {
  custom: {
    50: '#e6cf8a',
    500: '#d7bb57',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb57;
$custom-light: #e6cf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb57",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 87
  },
  "hsl": {
    "h": 46.875,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79672,
    "c": 0.12351,
    "h": 93.8
  },
  "luminance": 0.50676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7BB57

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

Preview Lab → · Contrast checker → · Palette generator →

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