#D7BD58#D7BD58

#D7BD58 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 80.1% C 0.124 H 95.0°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#D7BD58
RGBrgb(215, 189, 88)
HSLhsl(48, 61%, 59%)
HSVhsv(48, 59%, 84%)
CMYKcmyk(0%, 12.1%, 59.1%, 15.7%)
CIE-LABlab(77.01, -2.78, 53.41)
CIE-LCHlch(77.01, 53.48, 92.97°)
OKLaboklab(80.09% -0.0108 0.1237)
OKLCHoklch(80.09% 0.124 95)
XYZxyz(47.9854, 51.5491, 16.6530)
Luminance0.5155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BD58 #5872D7
analogous
#D77E58 #D7BD58 #B1D758
triadic
#D7BD58 #58D7BD #BD58D7
tetradic
#D7BD58 #58D77E #5872D7 #D758B1
square
#D7BD58 #58D77E #5872D7 #D758B1
split-complementary
#D7BD58 #58B1D7 #7E58D7
monochromatic
#927B23 #C3A52F #D7BD58 #E3D189 #EFE4BB

Accessibility & contrast

On white

1.86
#D7BD58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#D7BD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BD58
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BD58#FFFFFF#000000##000000
##D7BD581.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB94E
Deuteranopia (green-blind)
#D5C25D
Tritanopia (blue-blind)
#E7B0A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d7bd58;
/* rgb */ color: rgb(215, 189, 88);
/* oklch */ color: oklch(80.1% 0.124 95.0);
Tailwind
colors: {
  custom: {
    50: '#e6d08a',
    500: '#d7bd58',
    950: '#000000',
  },
}
SCSS
$custom: #d7bd58;
$custom-light: #e6d08a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bd58",
  "rgb": {
    "r": 215,
    "g": 189,
    "b": 88
  },
  "hsl": {
    "h": 47.717,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80092,
    "c": 0.12412,
    "h": 95
  },
  "luminance": 0.51547
}

Semantic roles & 50–950 ramp

primary
#D7BD58
secondary
#3C4F97
accent
#64E443
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D7BD58

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

Preview Lab → · Contrast checker → · Palette generator →

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