#D7BF59#D7BF59

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

Color values

HEX#D7BF59
RGBrgb(215, 191, 89)
HSLhsl(49, 61%, 60%)
HSVhsv(49, 59%, 84%)
CMYKcmyk(0%, 11.2%, 58.6%, 15.7%)
CIE-LABlab(77.54, -3.74, 53.54)
CIE-LCHlch(77.54, 53.67, 94.00°)
OKLaboklab(80.51% -0.0135 0.1241)
OKLCHoklch(80.51% 0.125 96.2)
XYZxyz(48.4603, 52.4322, 17.0171)
Luminance0.5243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF59 #5971D7
analogous
#D78059 #D7BF59 #B0D759
triadic
#D7BF59 #59D7BF #BF59D7
tetradic
#D7BF59 #59D780 #5971D7 #D759B0
square
#D7BF59 #59D780 #5971D7 #D759B0
split-complementary
#D7BF59 #59B0D7 #8059D7
monochromatic
#927D23 #C4A72F #D7BF59 #E3D28A #EFE5BC

Accessibility & contrast

On white

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

On black

11.49
#D7BF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF59
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF59#FFFFFF#000000##000000
##D7BF591.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7bf59;
/* rgb */ color: rgb(215, 191, 89);
/* oklch */ color: oklch(80.5% 0.125 96.2);
Tailwind
colors: {
  custom: {
    50: '#e6d28b',
    500: '#d7bf59',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf59;
$custom-light: #e6d28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf59",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 89
  },
  "hsl": {
    "h": 48.571,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80512,
    "c": 0.1248,
    "h": 96.2
  },
  "luminance": 0.5243
}

Semantic roles & 50–950 ramp

primary
#D7BF59
secondary
#3D4E98
accent
#62E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7BF59

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

Preview Lab → · Contrast checker → · Palette generator →

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