#D7BC2C#D7BC2C

#D7BC2C is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.5% C 0.153 H 97.8°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#D7BC2C
RGBrgb(215, 188, 44)
HSLhsl(51, 68%, 51%)
HSVhsv(51, 80%, 84%)
CMYKcmyk(0%, 12.6%, 79.5%, 15.7%)
CIE-LABlab(76.43, -4.54, 70.04)
CIE-LCHlch(76.43, 70.19, 93.71°)
OKLaboklab(79.54% -0.0206 0.1516)
OKLCHoklch(79.54% 0.153 97.8)
XYZxyz(46.4646, 50.5978, 9.7013)
Luminance0.5060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BC2C #2C47D7
analogous
#D7662C #D7BC2C #9DD72C
triadic
#D7BC2C #2CD7BC #BC2CD7
tetradic
#D7BC2C #2CD766 #2C47D7 #D72C9D
square
#D7BC2C #2CD766 #2C47D7 #D72C9D
split-complementary
#D7BC2C #2C9DD7 #662CD7
monochromatic
#736416 #A69120 #D7BC2C #E1CC5F #EBDD93

Accessibility & contrast

On white

1.89
#D7BC2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#D7BC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BC2C
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BC2C#FFFFFF#000000##000000
##D7BC2C1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#D7C037
Tritanopia (blue-blind)
#E8ADA1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bc2c;
/* rgb */ color: rgb(215, 188, 44);
/* oklch */ color: oklch(79.5% 0.153 97.8);
Tailwind
colors: {
  custom: {
    50: '#e8cf72',
    500: '#d7bc2c',
    950: '#000000',
  },
}
SCSS
$custom: #d7bc2c;
$custom-light: #e8cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bc2c",
  "rgb": {
    "r": 215,
    "g": 188,
    "b": 44
  },
  "hsl": {
    "h": 50.526,
    "s": 68.127,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79535,
    "c": 0.15298,
    "h": 97.8
  },
  "luminance": 0.50595
}

Semantic roles & 50–950 ramp

primary
#D7BC2C
secondary
#2C387B
accent
#58EB3D
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171309
muted
#85837D

Preview Lab

Preview with #D7BC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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