#D5C548#D5C548

#D5C548 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.143 H 102.0°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#D5C548
RGBrgb(213, 197, 72)
HSLhsl(53, 63%, 56%)
HSVhsv(53, 66%, 84%)
CMYKcmyk(0%, 7.5%, 66.2%, 16.5%)
CIE-LABlab(78.78, -8.77, 62.23)
CIE-LCHlch(78.78, 62.85, 98.02°)
OKLaboklab(81.41% -0.0297 0.1402)
OKLCHoklch(81.41% 0.143 102)
XYZxyz(48.5785, 54.5485, 14.0997)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C548 #4858D5
analogous
#D57E48 #D5C548 #9FD548
triadic
#D5C548 #48D5C5 #C548D5
tetradic
#D5C548 #48D57E #4858D5 #D5489F
square
#D5C548 #48D57E #4858D5 #D5489F
split-complementary
#D5C548 #489FD5 #7E48D5
monochromatic
#84791E #B6A62A #D5C548 #E0D57A #ECE5AC

Accessibility & contrast

On white

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

On black

11.91
#D5C548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C548
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C548#FFFFFF#000000##000000
##D5C5481.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF37
Deuteranopia (green-blind)
#DBC64F
Tritanopia (blue-blind)
#E5B8AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d5c548;
/* rgb */ color: rgb(213, 197, 72);
/* oklch */ color: oklch(81.4% 0.143 102.0);
Tailwind
colors: {
  custom: {
    50: '#e5d681',
    500: '#d5c548',
    950: '#000000',
  },
}
SCSS
$custom: #d5c548;
$custom-light: #e5d681;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c548",
  "rgb": {
    "r": 213,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 53.191,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81407,
    "c": 0.1433,
    "h": 102
  },
  "luminance": 0.54547
}

Semantic roles & 50–950 ramp

primary
#D5C548
secondary
#36408B
accent
#55E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C548

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

Preview Lab → · Contrast checker → · Palette generator →

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