#D7BB58#D7BB58

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

Color values

HEX#D7BB58
RGBrgb(215, 187, 88)
HSLhsl(47, 61%, 59%)
HSVhsv(47, 59%, 84%)
CMYKcmyk(0%, 13%, 59.1%, 15.7%)
CIE-LABlab(76.49, -1.73, 52.82)
CIE-LCHlch(76.49, 52.85, 91.88°)
OKLaboklab(79.68% -0.0078 0.1224)
OKLCHoklch(79.68% 0.123 93.7)
XYZxyz(47.5581, 50.6946, 16.5106)
Luminance0.5069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB58 #5874D7
analogous
#D77C58 #D7BB58 #B3D758
triadic
#D7BB58 #58D7BB #BB58D7
tetradic
#D7BB58 #58D77C #5874D7 #D758B3
square
#D7BB58 #58D77C #5874D7 #D758B3
split-complementary
#D7BB58 #58B3D7 #7C58D7
monochromatic
#927923 #C3A22F #D7BB58 #E3CF89 #EFE3BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BB58#FFFFFF#000000##000000
##D7BB581.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)
#CCB84E
Deuteranopia (green-blind)
#D4C05C
Tritanopia (blue-blind)
#E7AEA5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bb58;
/* rgb */ color: rgb(215, 187, 88);
/* oklch */ color: oklch(79.7% 0.123 93.7);
Tailwind
colors: {
  custom: {
    50: '#e6cf8a',
    500: '#d7bb58',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb58;
$custom-light: #e6cf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb58",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 88
  },
  "hsl": {
    "h": 46.772,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.79683,
    "c": 0.12265,
    "h": 93.7
  },
  "luminance": 0.50692
}

Semantic roles & 50–950 ramp

primary
#D7BB58
secondary
#3C5097
accent
#67E443
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D7BB58

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

Preview Lab → · Contrast checker → · Palette generator →

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