#D5BB54#D5BB54

#D5BB54 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.5% C 0.126 H 95.2°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#D5BB54
RGBrgb(213, 187, 84)
HSLhsl(48, 61%, 58%)
HSVhsv(48, 61%, 84%)
CMYKcmyk(0%, 12.2%, 60.6%, 16.5%)
CIE-LABlab(76.27, -2.86, 54.36)
CIE-LCHlch(76.27, 54.43, 93.01°)
OKLaboklab(79.45% -0.0114 0.1252)
OKLCHoklch(79.45% 0.126 95.2)
XYZxyz(46.8131, 50.3291, 15.6345)
Luminance0.5033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BB54 #546ED5
analogous
#D57A54 #D5BB54 #AED554
triadic
#D5BB54 #54D5BB #BB54D5
tetradic
#D5BB54 #54D57A #546ED5 #D554AE
square
#D5BB54 #54D57A #546ED5 #D554AE
split-complementary
#D5BB54 #54AED5 #7A54D5
monochromatic
#8C7722 #BDA12E #D5BB54 #E1CF85 #EDE2B6

Accessibility & contrast

On white

1.90
#D5BB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#D5BB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BB54
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BB54#FFFFFF#000000##000000
##D5BB541.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB749
Deuteranopia (green-blind)
#D3C059
Tritanopia (blue-blind)
#E5AEA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d5bb54;
/* rgb */ color: rgb(213, 187, 84);
/* oklch */ color: oklch(79.5% 0.126 95.2);
Tailwind
colors: {
  custom: {
    50: '#e5cf88',
    500: '#d5bb54',
    950: '#000000',
  },
}
SCSS
$custom: #d5bb54;
$custom-light: #e5cf88;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bb54",
  "rgb": {
    "r": 213,
    "g": 187,
    "b": 84
  },
  "hsl": {
    "h": 47.907,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79451,
    "c": 0.12575,
    "h": 95.2
  },
  "luminance": 0.50327
}

Semantic roles & 50–950 ramp

primary
#D5BB54
secondary
#3B4D92
accent
#64E444
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16130C
muted
#84837F

Preview Lab

Preview with #D5BB54

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

Preview Lab → · Contrast checker → · Palette generator →

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