#D7BF58#D7BF58

#D7BF58 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.126 H 96.3°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#D7BF58
RGBrgb(215, 191, 88)
HSLhsl(49, 61%, 59%)
HSVhsv(49, 59%, 84%)
CMYKcmyk(0%, 11.2%, 59.1%, 15.7%)
CIE-LABlab(77.53, -3.81, 53.99)
CIE-LCHlch(77.53, 54.13, 94.04°)
OKLaboklab(80.5% -0.0138 0.1249)
OKLCHoklch(80.5% 0.126 96.3)
XYZxyz(48.4186, 52.4155, 16.7974)
Luminance0.5241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF58 #5870D7
analogous
#D77F58 #D7BF58 #B0D758
triadic
#D7BF58 #58D7BF #BF58D7
tetradic
#D7BF58 #58D77F #5870D7 #D758B0
square
#D7BF58 #58D77F #5870D7 #D758B0
split-complementary
#D7BF58 #58B0D7 #7F58D7
monochromatic
#927D23 #C3A72F #D7BF58 #E3D289 #EFE5BB

Accessibility & contrast

On white

1.83
#D7BF58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#D7BF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF58
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF58#FFFFFF#000000##000000
##D7BF581.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4D
Deuteranopia (green-blind)
#D6C35D
Tritanopia (blue-blind)
#E7B2A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d7bf58;
/* rgb */ color: rgb(215, 191, 88);
/* oklch */ color: oklch(80.5% 0.126 96.3);
Tailwind
colors: {
  custom: {
    50: '#e6d28b',
    500: '#d7bf58',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf58;
$custom-light: #e6d28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf58",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 88
  },
  "hsl": {
    "h": 48.661,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80501,
    "c": 0.12567,
    "h": 96.3
  },
  "luminance": 0.52413
}

Semantic roles & 50–950 ramp

primary
#D7BF58
secondary
#3C4D97
accent
#62E443
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7BF58

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

Preview Lab → · Contrast checker → · Palette generator →

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