#D5B552#D5B552

#D5B552 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.2% C 0.123 H 91.4°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#D5B552
RGBrgb(213, 181, 82)
HSLhsl(45, 61%, 58%)
HSVhsv(45, 62%, 84%)
CMYKcmyk(0%, 15%, 61.5%, 16.5%)
CIE-LABlab(74.70, 0.15, 53.52)
CIE-LCHlch(74.70, 53.52, 89.84°)
OKLaboklab(78.21% -0.003 0.1232)
OKLCHoklch(78.21% 0.123 91.4)
XYZxyz(45.4896, 47.8055, 14.8123)
Luminance0.4780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B552 #5272D5
analogous
#D57452 #D5B552 #B3D552
triadic
#D5B552 #52D5B5 #B552D5
tetradic
#D5B552 #52D574 #5272D5 #D552B3
square
#D5B552 #52D574 #5272D5 #D552B3
split-complementary
#D5B552 #52B3D5 #7452D5
monochromatic
#8B7122 #BC992E #D5B552 #E1CA83 #EDDFB4

Accessibility & contrast

On white

1.99
#D5B552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#D5B552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B552
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B552#FFFFFF#000000##000000
##D5B5521.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B248
Deuteranopia (green-blind)
#CFBC56
Tritanopia (blue-blind)
#E5A89F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d5b552;
/* rgb */ color: rgb(213, 181, 82);
/* oklch */ color: oklch(78.2% 0.123 91.4);
Tailwind
colors: {
  custom: {
    50: '#e5ca86',
    500: '#d5b552',
    950: '#000000',
  },
}
SCSS
$custom: #d5b552;
$custom-light: #e5ca86;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b552",
  "rgb": {
    "r": 213,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 45.344,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78206,
    "c": 0.12322,
    "h": 91.4
  },
  "luminance": 0.47803
}

Semantic roles & 50–950 ramp

primary
#D5B552
secondary
#A7B4DC
accent
#6BE444
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B552

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

Preview Lab → · Contrast checker → · Palette generator →

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