#D7BD4C#D7BD4C

#D7BD4C is a light, vivid yellow. Relative luminance 0.514; OKLCH L 80.0% C 0.134 H 96.2°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#D7BD4C
RGBrgb(215, 189, 76)
HSLhsl(49, 63%, 57%)
HSVhsv(49, 65%, 84%)
CMYKcmyk(0%, 12.1%, 64.7%, 15.7%)
CIE-LABlab(76.90, -3.57, 58.64)
CIE-LCHlch(76.90, 58.75, 93.48°)
OKLaboklab(79.97% -0.0145 0.1332)
OKLCHoklch(79.97% 0.134 96.2)
XYZxyz(47.5286, 51.3664, 14.2473)
Luminance0.5136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BD4C #4C66D7
analogous
#D7784C #D7BD4C #ACD74C
triadic
#D7BD4C #4CD7BD #BD4CD7
tetradic
#D7BD4C #4CD778 #4C66D7 #D74CAC
square
#D7BD4C #4CD778 #4C66D7 #D74CAC
split-complementary
#D7BD4C #4CACD7 #784CD7
monochromatic
#8A761F #BCA12A #D7BD4C #E2CF7E #EDE2B0

Accessibility & contrast

On white

1.86
#D7BD4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#D7BD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BD4C
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BD4C#FFFFFF#000000##000000
##D7BD4C1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB93E
Deuteranopia (green-blind)
#D6C152
Tritanopia (blue-blind)
#E7AFA5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d7bd4c;
/* rgb */ color: rgb(215, 189, 76);
/* oklch */ color: oklch(80.0% 0.134 96.2);
Tailwind
colors: {
  custom: {
    50: '#e7d083',
    500: '#d7bd4c',
    950: '#000000',
  },
}
SCSS
$custom: #d7bd4c;
$custom-light: #e7d083;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bd4c",
  "rgb": {
    "r": 215,
    "g": 189,
    "b": 76
  },
  "hsl": {
    "h": 48.777,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79969,
    "c": 0.13394,
    "h": 96.2
  },
  "luminance": 0.51364
}

Semantic roles & 50–950 ramp

primary
#D7BD4C
secondary
#374890
accent
#60E641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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