#D5C550#D5C550

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

Color values

HEX#D5C550
RGBrgb(213, 197, 80)
HSLhsl(53, 61%, 57%)
HSVhsv(53, 62%, 84%)
CMYKcmyk(0%, 7.5%, 62.4%, 16.5%)
CIE-LABlab(78.84, -8.29, 58.95)
CIE-LCHlch(78.84, 59.53, 98.00°)
OKLaboklab(81.48% -0.0274 0.1345)
OKLCHoklch(81.48% 0.137 101.5)
XYZxyz(48.8567, 54.6598, 15.5647)
Luminance0.5466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C550 #5060D5
analogous
#D58350 #D5C550 #A2D550
triadic
#D5C550 #50D5C5 #C550D5
tetradic
#D5C550 #50D583 #5060D5 #D550A2
square
#D5C550 #50D583 #5060D5 #D550A2
split-complementary
#D5C550 #50A2D5 #8350D5
monochromatic
#8A7D21 #BBAA2D #D5C550 #E1D581 #EDE6B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5C550#FFFFFF#000000##000000
##D5C5501.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)
#D6BF42
Deuteranopia (green-blind)
#DBC656
Tritanopia (blue-blind)
#E4B8AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d5c550;
/* rgb */ color: rgb(213, 197, 80);
/* oklch */ color: oklch(81.5% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#e5d686',
    500: '#d5c550',
    950: '#000000',
  },
}
SCSS
$custom: #d5c550;
$custom-light: #e5d686;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c550",
  "rgb": {
    "r": 213,
    "g": 197,
    "b": 80
  },
  "hsl": {
    "h": 52.782,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81479,
    "c": 0.13723,
    "h": 101.5
  },
  "luminance": 0.54658
}

Semantic roles & 50–950 ramp

primary
#D5C550
secondary
#394490
accent
#57E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D5C550

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

Preview Lab → · Contrast checker → · Palette generator →

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