#D7BD4E#D7BD4E

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

Color values

HEX#D7BD4E
RGBrgb(215, 189, 78)
HSLhsl(49, 63%, 57%)
HSVhsv(49, 64%, 84%)
CMYKcmyk(0%, 12.1%, 63.7%, 15.7%)
CIE-LABlab(76.92, -3.45, 57.79)
CIE-LCHlch(76.92, 57.89, 93.41°)
OKLaboklab(79.99% -0.0139 0.1317)
OKLCHoklch(79.99% 0.132 96)
XYZxyz(47.5992, 51.3947, 14.6192)
Luminance0.5139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BD4E #4E68D7
analogous
#D7784E #D7BD4E #ADD74E
triadic
#D7BD4E #4ED7BD #BD4ED7
tetradic
#D7BD4E #4ED778 #4E68D7 #D74EAD
square
#D7BD4E #4ED778 #4E68D7 #D74EAD
split-complementary
#D7BD4E #4EADD7 #784ED7
monochromatic
#8B771F #BDA12B #D7BD4E #E2D080 #EEE2B2

Accessibility & contrast

On white

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

On black

11.28
#D7BD4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BD4E
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BD4E#FFFFFF#000000##000000
##D7BD4E1.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB941
Deuteranopia (green-blind)
#D6C154
Tritanopia (blue-blind)
#E7B0A5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d7bd4e;
/* rgb */ color: rgb(215, 189, 78);
/* oklch */ color: oklch(80.0% 0.132 96.0);
Tailwind
colors: {
  custom: {
    50: '#e7d084',
    500: '#d7bd4e',
    950: '#000000',
  },
}
SCSS
$custom: #d7bd4e;
$custom-light: #e7d084;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bd4e",
  "rgb": {
    "r": 215,
    "g": 189,
    "b": 78
  },
  "hsl": {
    "h": 48.613,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79988,
    "c": 0.13239,
    "h": 96
  },
  "luminance": 0.51392
}

Semantic roles & 50–950 ramp

primary
#D7BD4E
secondary
#384991
accent
#61E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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