#D5C54A#D5C54A

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

Color values

HEX#D5C54A
RGBrgb(213, 197, 74)
HSLhsl(53, 62%, 56%)
HSVhsv(53, 65%, 84%)
CMYKcmyk(0%, 7.5%, 65.3%, 16.5%)
CIE-LABlab(78.80, -8.66, 61.43)
CIE-LCHlch(78.80, 62.04, 98.02°)
OKLaboklab(81.42% -0.0292 0.1388)
OKLCHoklch(81.42% 0.142 101.9)
XYZxyz(48.6448, 54.5751, 14.4489)
Luminance0.5457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C54A #4A5AD5
analogous
#D5804A #D5C54A #A0D54A
triadic
#D5C54A #4AD5C5 #C54AD5
tetradic
#D5C54A #4AD580 #4A5AD5 #D54AA0
square
#D5C54A #4AD580 #4A5AD5 #D54AA0
split-complementary
#D5C54A #4AA0D5 #804AD5
monochromatic
#867A1F #B7A72B #D5C54A #E1D57C #ECE5AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5C54A#FFFFFF#000000##000000
##D5C54A1.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)
#D6BF3A
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#E5B8AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d5c54a;
/* rgb */ color: rgb(213, 197, 74);
/* oklch */ color: oklch(81.4% 0.142 101.9);
Tailwind
colors: {
  custom: {
    50: '#e5d682',
    500: '#d5c54a',
    950: '#000000',
  },
}
SCSS
$custom: #d5c54a;
$custom-light: #e5d682;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c54a",
  "rgb": {
    "r": 213,
    "g": 197,
    "b": 74
  },
  "hsl": {
    "h": 53.094,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81424,
    "c": 0.14184,
    "h": 101.9
  },
  "luminance": 0.54573
}

Semantic roles & 50–950 ramp

primary
#D5C54A
secondary
#37418C
accent
#55E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C54A

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

Preview Lab → · Contrast checker → · Palette generator →

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