#D7BC62#D7BC62

#D7BC62 is a light, moderate yellow. Relative luminance 0.513; OKLCH L 80.0% C 0.114 H 93.0°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#D7BC62
RGBrgb(215, 188, 98)
HSLhsl(46, 59%, 61%)
HSVhsv(46, 54%, 84%)
CMYKcmyk(0%, 12.6%, 54.4%, 15.7%)
CIE-LABlab(76.86, -1.49, 48.51)
CIE-LCHlch(76.86, 48.53, 91.76°)
OKLaboklab(80.01% -0.0059 0.1142)
OKLCHoklch(80.01% 0.114 93)
XYZxyz(48.2140, 51.2976, 18.9147)
Luminance0.5130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BC62 #627DD7
analogous
#D78262 #D7BC62 #B8D762
triadic
#D7BC62 #62D7BC #BC62D7
tetradic
#D7BC62 #62D782 #627DD7 #D762B8
square
#D7BC62 #62D782 #627DD7 #D762B8
split-complementary
#D7BC62 #62B8D7 #8262D7
monochromatic
#987E27 #C9A633 #D7BC62 #E3D193 #F0E6C4

Accessibility & contrast

On white

1.87
#D7BC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#D7BC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BC62
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BC62#FFFFFF#000000##000000
##D7BC621.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB95A
Deuteranopia (green-blind)
#D3C166
Tritanopia (blue-blind)
#E6B0A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d7bc62;
/* rgb */ color: rgb(215, 188, 98);
/* oklch */ color: oklch(80.0% 0.114 93.0);
Tailwind
colors: {
  custom: {
    50: '#e6cf91',
    500: '#d7bc62',
    950: '#000000',
  },
}
SCSS
$custom: #d7bc62;
$custom-light: #e6cf91;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bc62",
  "rgb": {
    "r": 215,
    "g": 188,
    "b": 98
  },
  "hsl": {
    "h": 46.154,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.80006,
    "c": 0.11432,
    "h": 93
  },
  "luminance": 0.51295
}

Semantic roles & 50–950 ramp

primary
#D7BC62
secondary
#41569D
accent
#45C71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16130D
muted
#84837F

Preview Lab

Preview with #D7BC62

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

Preview Lab → · Contrast checker → · Palette generator →

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