#D7BD3C#D7BD3C

#D7BD3C is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.8% C 0.145 H 97.4°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#D7BD3C
RGBrgb(215, 189, 60)
HSLhsl(50, 66%, 54%)
HSVhsv(50, 72%, 84%)
CMYKcmyk(0%, 12.1%, 72.1%, 15.7%)
CIE-LABlab(76.78, -4.42, 64.96)
CIE-LCHlch(76.78, 65.11, 93.90°)
OKLaboklab(79.84% -0.0188 0.1438)
OKLCHoklch(79.84% 0.145 97.4)
XYZxyz(47.0399, 51.1709, 11.6733)
Luminance0.5117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BD3C #3C56D7
analogous
#D7703C #D7BD3C #A4D73C
triadic
#D7BD3C #3CD7BD #BD3CD7
tetradic
#D7BD3C #3CD770 #3C56D7 #D73CA4
square
#D7BD3C #3CD770 #3C56D7 #D73CA4
split-complementary
#D7BD3C #3CA4D7 #703CD7
monochromatic
#7F6E1A #B19A24 #D7BD3C #E1CE6F #ECDFA2

Accessibility & contrast

On white

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

On black

11.23
#D7BD3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BD3C
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BD3C#FFFFFF#000000##000000
##D7BD3C1.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B927
Deuteranopia (green-blind)
#D7C144
Tritanopia (blue-blind)
#E8AFA4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bd3c;
/* rgb */ color: rgb(215, 189, 60);
/* oklch */ color: oklch(79.8% 0.145 97.4);
Tailwind
colors: {
  custom: {
    50: '#e7d07a',
    500: '#d7bd3c',
    950: '#000000',
  },
}
SCSS
$custom: #d7bd3c;
$custom-light: #e7d07a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bd3c",
  "rgb": {
    "r": 215,
    "g": 189,
    "b": 60
  },
  "hsl": {
    "h": 49.935,
    "s": 65.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79838,
    "c": 0.14504,
    "h": 97.4
  },
  "luminance": 0.51169
}

Semantic roles & 50–950 ramp

primary
#D7BD3C
secondary
#313F86
accent
#5BE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #D7BD3C

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

Preview Lab → · Contrast checker → · Palette generator →

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