#D7BD54#D7BD54

#D7BD54 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 80.0% C 0.128 H 95.4°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#D7BD54
RGBrgb(215, 189, 84)
HSLhsl(48, 62%, 59%)
HSVhsv(48, 61%, 84%)
CMYKcmyk(0%, 12.1%, 60.9%, 15.7%)
CIE-LABlab(76.97, -3.05, 55.19)
CIE-LCHlch(76.97, 55.27, 93.17°)
OKLaboklab(80.05% -0.0121 0.127)
OKLCHoklch(80.05% 0.128 95.4)
XYZxyz(47.8242, 51.4847, 15.8043)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BD54 #546ED7
analogous
#D77B54 #D7BD54 #AFD754
triadic
#D7BD54 #54D7BD #BD54D7
tetradic
#D7BD54 #54D77B #546ED7 #D754AF
square
#D7BD54 #54D77B #546ED7 #D754AF
split-complementary
#D7BD54 #54AFD7 #7B54D7
monochromatic
#8F7921 #C1A32D #D7BD54 #E3D086 #EEE3B7

Accessibility & contrast

On white

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

On black

11.30
#D7BD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BD54
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BD54#FFFFFF#000000##000000
##D7BD541.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB949
Deuteranopia (green-blind)
#D5C259
Tritanopia (blue-blind)
#E7B0A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d7bd54;
/* rgb */ color: rgb(215, 189, 84);
/* oklch */ color: oklch(80.0% 0.128 95.4);
Tailwind
colors: {
  custom: {
    50: '#e6d088',
    500: '#d7bd54',
    950: '#000000',
  },
}
SCSS
$custom: #d7bd54;
$custom-light: #e6d088;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bd54",
  "rgb": {
    "r": 215,
    "g": 189,
    "b": 84
  },
  "hsl": {
    "h": 48.092,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80048,
    "c": 0.12753,
    "h": 95.4
  },
  "luminance": 0.51482
}

Semantic roles & 50–950 ramp

primary
#D7BD54
secondary
#3B4C95
accent
#63E543
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16130C
muted
#85837F

Preview Lab

Preview with #D7BD54

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

Preview Lab → · Contrast checker → · Palette generator →

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