#D7BD2D#D7BD2D

#D7BD2D is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.7% C 0.153 H 98.2°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#D7BD2D
RGBrgb(215, 189, 45)
HSLhsl(51, 68%, 51%)
HSVhsv(51, 79%, 84%)
CMYKcmyk(0%, 12.1%, 79.1%, 15.7%)
CIE-LABlab(76.70, -5.03, 69.98)
CIE-LCHlch(76.70, 70.16, 94.11°)
OKLaboklab(79.75% -0.0219 0.1516)
OKLCHoklch(79.75% 0.153 98.2)
XYZxyz(46.6980, 51.0342, 9.8730)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BD2D #2D47D7
analogous
#D7682D #D7BD2D #9CD72D
triadic
#D7BD2D #2DD7BD #BD2DD7
tetradic
#D7BD2D #2DD768 #2D47D7 #D72D9C
square
#D7BD2D #2DD768 #2D47D7 #D72D9C
split-complementary
#D7BD2D #2D9CD7 #682DD7
monochromatic
#746516 #A79220 #D7BD2D #E1CD60 #EBDD94

Accessibility & contrast

On white

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

On black

11.21
#D7BD2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BD2D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BD2D#FFFFFF#000000##000000
##D7BD2D1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B802
Deuteranopia (green-blind)
#D7C138
Tritanopia (blue-blind)
#E8AEA2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bd2d;
/* rgb */ color: rgb(215, 189, 45);
/* oklch */ color: oklch(79.7% 0.153 98.2);
Tailwind
colors: {
  custom: {
    50: '#e8d073',
    500: '#d7bd2d',
    950: '#000000',
  },
}
SCSS
$custom: #d7bd2d;
$custom-light: #e8d073;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bd2d",
  "rgb": {
    "r": 215,
    "g": 189,
    "b": 45
  },
  "hsl": {
    "h": 50.824,
    "s": 68,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79746,
    "c": 0.1532,
    "h": 98.2
  },
  "luminance": 0.51032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7BD2D

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

Preview Lab → · Contrast checker → · Palette generator →

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