#D5B554#D5B554

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

Color values

HEX#D5B554
RGBrgb(213, 181, 84)
HSLhsl(45, 61%, 58%)
HSVhsv(45, 61%, 84%)
CMYKcmyk(0%, 15%, 60.6%, 16.5%)
CIE-LABlab(74.72, 0.29, 52.62)
CIE-LCHlch(74.72, 52.62, 89.69°)
OKLaboklab(78.23% -0.0023 0.1215)
OKLCHoklch(78.23% 0.122 91.1)
XYZxyz(45.5668, 47.8364, 15.2190)
Luminance0.4783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B554 #5474D5
analogous
#D57454 #D5B554 #B4D554
triadic
#D5B554 #54D5B5 #B554D5
tetradic
#D5B554 #54D574 #5474D5 #D554B4
square
#D5B554 #54D574 #5474D5 #D554B4
split-complementary
#D5B554 #54B4D5 #7454D5
monochromatic
#8C7222 #BD9A2E #D5B554 #E1CA85 #EDE0B6

Accessibility & contrast

On white

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

On black

10.57
#D5B554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B554
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B554#FFFFFF#000000##000000
##D5B5541.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34A
Deuteranopia (green-blind)
#CFBC58
Tritanopia (blue-blind)
#E5A8A0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d5b554;
/* rgb */ color: rgb(213, 181, 84);
/* oklch */ color: oklch(78.2% 0.122 91.1);
Tailwind
colors: {
  custom: {
    50: '#e5ca87',
    500: '#d5b554',
    950: '#000000',
  },
}
SCSS
$custom: #d5b554;
$custom-light: #e5ca87;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b554",
  "rgb": {
    "r": 213,
    "g": 181,
    "b": 84
  },
  "hsl": {
    "h": 45.116,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78227,
    "c": 0.12154,
    "h": 91.1
  },
  "luminance": 0.47834
}

Semantic roles & 50–950 ramp

primary
#D5B554
secondary
#A9B5DC
accent
#6CE444
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B554

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

Preview Lab → · Contrast checker → · Palette generator →

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