#D7BF53#D7BF53

#D7BF53 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.130 H 96.8°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#D7BF53
RGBrgb(215, 191, 83)
HSLhsl(49, 62%, 58%)
HSVhsv(49, 61%, 84%)
CMYKcmyk(0%, 11.2%, 61.4%, 15.7%)
CIE-LABlab(77.48, -4.16, 56.20)
CIE-LCHlch(77.48, 56.35, 94.23°)
OKLaboklab(80.45% -0.0154 0.129)
OKLCHoklch(80.45% 0.13 96.8)
XYZxyz(48.2185, 52.3355, 15.7438)
Luminance0.5233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF53 #536BD7
analogous
#D77D53 #D7BF53 #ADD753
triadic
#D7BF53 #53D7BF #BF53D7
tetradic
#D7BF53 #53D77D #536BD7 #D753AD
square
#D7BF53 #53D77D #536BD7 #D753AD
split-complementary
#D7BF53 #53ADD7 #7D53D7
monochromatic
#8E7B21 #C0A52D #D7BF53 #E3D185 #EEE4B6

Accessibility & contrast

On white

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

On black

11.47
#D7BF53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF53
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF53#FFFFFF#000000##000000
##D7BF531.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB47
Deuteranopia (green-blind)
#D7C358
Tritanopia (blue-blind)
#E7B2A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7bf53;
/* rgb */ color: rgb(215, 191, 83);
/* oklch */ color: oklch(80.4% 0.130 96.8);
Tailwind
colors: {
  custom: {
    50: '#e6d287',
    500: '#d7bf53',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf53;
$custom-light: #e6d287;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf53",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 83
  },
  "hsl": {
    "h": 49.091,
    "s": 62.264,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80448,
    "c": 0.1299,
    "h": 96.8
  },
  "luminance": 0.52333
}

Semantic roles & 50–950 ramp

primary
#D7BF53
secondary
#3A4B94
accent
#60E542
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7BF53

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

Preview Lab → · Contrast checker → · Palette generator →

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