#D7BA4D#D7BA4D

#D7BA4D is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.4% C 0.131 H 94.3°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#D7BA4D
RGBrgb(215, 186, 77)
HSLhsl(47, 63%, 57%)
HSVhsv(47, 64%, 84%)
CMYKcmyk(0%, 13.5%, 64.2%, 15.7%)
CIE-LABlab(76.13, -1.95, 57.38)
CIE-LCHlch(76.13, 57.41, 91.94°)
OKLaboklab(79.36% -0.0097 0.1306)
OKLCHoklch(79.36% 0.131 94.3)
XYZxyz(46.9250, 50.1031, 14.2189)
Luminance0.5010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BA4D #4D6AD7
analogous
#D7754D #D7BA4D #AFD74D
triadic
#D7BA4D #4DD7BA #BA4DD7
tetradic
#D7BA4D #4DD775 #4D6AD7 #D74DAF
square
#D7BA4D #4DD775 #4D6AD7 #D74DAF
split-complementary
#D7BA4D #4DAFD7 #754DD7
monochromatic
#8A741F #BC9E2A #D7BA4D #E2CD7F #EDE1B1

Accessibility & contrast

On white

1.91
#D7BA4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#D7BA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BA4D
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BA4D#FFFFFF#000000##000000
##D7BA4D1.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB740
Deuteranopia (green-blind)
#D4C052
Tritanopia (blue-blind)
#E7ACA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7ba4d;
/* rgb */ color: rgb(215, 186, 77);
/* oklch */ color: oklch(79.4% 0.131 94.3);
Tailwind
colors: {
  custom: {
    50: '#e7ce83',
    500: '#d7ba4d',
    950: '#000000',
  },
}
SCSS
$custom: #d7ba4d;
$custom-light: #e7ce83;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ba4d",
  "rgb": {
    "r": 215,
    "g": 186,
    "b": 77
  },
  "hsl": {
    "h": 47.391,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79365,
    "c": 0.13099,
    "h": 94.3
  },
  "luminance": 0.50101
}

Semantic roles & 50–950 ramp

primary
#D7BA4D
secondary
#384A90
accent
#64E641
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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