#D5BB40#D5BB40

#D5BB40 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.3% C 0.141 H 97.0°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#D5BB40
RGBrgb(213, 187, 64)
HSLhsl(50, 64%, 54%)
HSVhsv(50, 70%, 84%)
CMYKcmyk(0%, 12.2%, 70%, 16.5%)
CIE-LABlab(76.11, -4.05, 62.70)
CIE-LCHlch(76.11, 62.83, 93.70°)
OKLaboklab(79.27% -0.0171 0.1398)
OKLCHoklch(79.27% 0.141 97)
XYZxyz(46.1386, 50.0593, 12.0817)
Luminance0.5006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BB40 #405AD5
analogous
#D57140 #D5BB40 #A5D540
triadic
#D5BB40 #40D5BB #BB40D5
tetradic
#D5BB40 #40D571 #405AD5 #D540A5
square
#D5BB40 #40D571 #405AD5 #D540A5
split-complementary
#D5BB40 #40A5D5 #7140D5
monochromatic
#7F6D1C #B19927 #D5BB40 #E0CD72 #EBDFA4

Accessibility & contrast

On white

1.91
#D5BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#D5BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BB40
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BB40#FFFFFF#000000##000000
##D5BB401.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72E
Deuteranopia (green-blind)
#D4BF47
Tritanopia (blue-blind)
#E6ADA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d5bb40;
/* rgb */ color: rgb(213, 187, 64);
/* oklch */ color: oklch(79.3% 0.141 97.0);
Tailwind
colors: {
  custom: {
    50: '#e6cf7c',
    500: '#d5bb40',
    950: '#000000',
  },
}
SCSS
$custom: #d5bb40;
$custom-light: #e6cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bb40",
  "rgb": {
    "r": 213,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 49.53,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79267,
    "c": 0.14088,
    "h": 97
  },
  "luminance": 0.50057
}

Semantic roles & 50–950 ramp

primary
#D5BB40
secondary
#334286
accent
#5EE741
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130A
muted
#85837D

Preview Lab

Preview with #D5BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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