#D5BB52#D5BB52

#D5BB52 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.4% C 0.127 H 95.4°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#D5BB52
RGBrgb(213, 187, 82)
HSLhsl(48, 61%, 58%)
HSVhsv(48, 62%, 84%)
CMYKcmyk(0%, 12.2%, 61.5%, 16.5%)
CIE-LABlab(76.25, -2.99, 55.24)
CIE-LCHlch(76.25, 55.32, 93.10°)
OKLaboklab(79.43% -0.012 0.1269)
OKLCHoklch(79.43% 0.127 95.4)
XYZxyz(46.7359, 50.2982, 15.2278)
Luminance0.5030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BB52 #526CD5
analogous
#D57A52 #D5BB52 #ADD552
triadic
#D5BB52 #52D5BB #BB52D5
tetradic
#D5BB52 #52D57A #526CD5 #D552AD
square
#D5BB52 #52D57A #526CD5 #D552AD
split-complementary
#D5BB52 #52ADD5 #7A52D5
monochromatic
#8B7622 #BCA02E #D5BB52 #E1CE83 #EDE2B4

Accessibility & contrast

On white

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

On black

11.06
#D5BB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BB52
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BB52#FFFFFF#000000##000000
##D5BB521.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5bb52;
/* rgb */ color: rgb(213, 187, 82);
/* oklch */ color: oklch(79.4% 0.127 95.4);
Tailwind
colors: {
  custom: {
    50: '#e5cf87',
    500: '#d5bb52',
    950: '#000000',
  },
}
SCSS
$custom: #d5bb52;
$custom-light: #e5cf87;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bb52",
  "rgb": {
    "r": 213,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 48.092,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.7943,
    "c": 0.12742,
    "h": 95.4
  },
  "luminance": 0.50296
}

Semantic roles & 50–950 ramp

primary
#D5BB52
secondary
#3A4B91
accent
#64E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D5BB52

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

Preview Lab → · Contrast checker → · Palette generator →

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