#D5C551#D5C551

#D5C551 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.136 H 101.5°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#D5C551
RGBrgb(213, 197, 81)
HSLhsl(53, 61%, 58%)
HSVhsv(53, 62%, 84%)
CMYKcmyk(0%, 7.5%, 62%, 16.5%)
CIE-LABlab(78.85, -8.22, 58.53)
CIE-LCHlch(78.85, 59.10, 98.00°)
OKLaboklab(81.49% -0.0271 0.1337)
OKLCHoklch(81.49% 0.136 101.5)
XYZxyz(48.8939, 54.6747, 15.7608)
Luminance0.5467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C551 #5161D5
analogous
#D58351 #D5C551 #A3D551
triadic
#D5C551 #51D5C5 #C551D5
tetradic
#D5C551 #51D583 #5161D5 #D551A3
square
#D5C551 #51D583 #5161D5 #D551A3
split-complementary
#D5C551 #51A3D5 #8351D5
monochromatic
#8A7E21 #BCAA2D #D5C551 #E1D582 #EDE6B4

Accessibility & contrast

On white

1.76
#D5C551 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#D5C551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C551
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C551#FFFFFF#000000##000000
##D5C5511.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF44
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#E4B8AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d5c551;
/* rgb */ color: rgb(213, 197, 81);
/* oklch */ color: oklch(81.5% 0.136 101.5);
Tailwind
colors: {
  custom: {
    50: '#e5d687',
    500: '#d5c551',
    950: '#000000',
  },
}
SCSS
$custom: #d5c551;
$custom-light: #e5d687;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c551",
  "rgb": {
    "r": 213,
    "g": 197,
    "b": 81
  },
  "hsl": {
    "h": 52.727,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81489,
    "c": 0.13643,
    "h": 101.5
  },
  "luminance": 0.54673
}

Semantic roles & 50–950 ramp

primary
#D5C551
secondary
#3A4490
accent
#57E444
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C551

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

Preview Lab → · Contrast checker → · Palette generator →

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