#D5C552#D5C552

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

Color values

HEX#D5C552
RGBrgb(213, 197, 82)
HSLhsl(53, 61%, 58%)
HSVhsv(53, 62%, 84%)
CMYKcmyk(0%, 7.5%, 61.5%, 16.5%)
CIE-LABlab(78.86, -8.16, 58.10)
CIE-LCHlch(78.86, 58.67, 97.99°)
OKLaboklab(81.5% -0.0268 0.1329)
OKLCHoklch(81.5% 0.136 101.4)
XYZxyz(48.9317, 54.6898, 15.9597)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C552 #5262D5
analogous
#D58452 #D5C552 #A3D552
triadic
#D5C552 #52D5C5 #C552D5
tetradic
#D5C552 #52D584 #5262D5 #D552A3
square
#D5C552 #52D584 #5262D5 #D552A3
split-complementary
#D5C552 #52A3D5 #8452D5
monochromatic
#8B7E22 #BCAB2E #D5C552 #E1D683 #EDE6B4

Accessibility & contrast

On white

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

On black

11.94
#D5C552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C552
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C552#FFFFFF#000000##000000
##D5C5521.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c552;
/* rgb */ color: rgb(213, 197, 82);
/* oklch */ color: oklch(81.5% 0.136 101.4);
Tailwind
colors: {
  custom: {
    50: '#e5d687',
    500: '#d5c552',
    950: '#000000',
  },
}
SCSS
$custom: #d5c552;
$custom-light: #e5d687;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c552",
  "rgb": {
    "r": 213,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 52.672,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81498,
    "c": 0.13562,
    "h": 101.4
  },
  "luminance": 0.54688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5C552

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

Preview Lab → · Contrast checker → · Palette generator →

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