#D7BB54#D7BB54

#D7BB54 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.6% C 0.126 H 94.1°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#D7BB54
RGBrgb(215, 187, 84)
HSLhsl(47, 62%, 59%)
HSVhsv(47, 61%, 84%)
CMYKcmyk(0%, 13%, 60.9%, 15.7%)
CIE-LABlab(76.45, -2.01, 54.61)
CIE-LCHlch(76.45, 54.65, 92.11°)
OKLaboklab(79.64% -0.0091 0.1257)
OKLCHoklch(79.64% 0.126 94.1)
XYZxyz(47.3970, 50.6302, 15.6618)
Luminance0.5063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB54 #5470D7
analogous
#D77954 #D7BB54 #B1D754
triadic
#D7BB54 #54D7BB #BB54D7
tetradic
#D7BB54 #54D779 #5470D7 #D754B1
square
#D7BB54 #54D779 #5470D7 #D754B1
split-complementary
#D7BB54 #54B1D7 #7954D7
monochromatic
#8F7821 #C1A12D #D7BB54 #E3CF86 #EEE2B7

Accessibility & contrast

On white

1.89
#D7BB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#D7BB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BB54
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BB54#FFFFFF#000000##000000
##D7BB541.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB849
Deuteranopia (green-blind)
#D4C059
Tritanopia (blue-blind)
#E7AEA4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bb54;
/* rgb */ color: rgb(215, 187, 84);
/* oklch */ color: oklch(79.6% 0.126 94.1);
Tailwind
colors: {
  custom: {
    50: '#e6cf88',
    500: '#d7bb54',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb54;
$custom-light: #e6cf88;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb54",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 84
  },
  "hsl": {
    "h": 47.176,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79639,
    "c": 0.12605,
    "h": 94.1
  },
  "luminance": 0.50628
}

Semantic roles & 50–950 ramp

primary
#D7BB54
secondary
#3B4E95
accent
#65E543
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16130C
muted
#85837F

Preview Lab

Preview with #D7BB54

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

Preview Lab → · Contrast checker → · Palette generator →

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