#D5D54C#D5D54C

#D5D54C is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.8% C 0.155 H 109.3°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#D5D54C
RGBrgb(213, 213, 76)
HSLhsl(60, 62%, 57%)
HSVhsv(60, 64%, 84%)
CMYKcmyk(0%, 0%, 64.3%, 16.5%)
CIE-LABlab(83.05, -16.59, 65.05)
CIE-LCHlch(83.05, 67.13, 104.31°)
OKLaboklab(84.82% -0.0514 0.1468)
OKLCHoklch(84.82% 0.156 109.3)
XYZxyz(52.5410, 62.2579, 16.0854)
Luminance0.6226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D54C #4C4CD5
analogous
#D5914C #D5D54C #91D54C
triadic
#D5D54C #4CD5D5 #D54CD5
tetradic
#D5D54C #4CD591 #4C4CD5 #D54C91
square
#D5D54C #4CD591 #4C4CD5 #D54C91
split-complementary
#D5D54C #4C91D5 #914CD5
monochromatic
#878720 #B9B92B #D5D54C #E1E17E #ECECAF

Accessibility & contrast

On white

1.56
#D5D54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#D5D54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D54C
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D54C#FFFFFF#000000##000000
##D5D54C1.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC39
Deuteranopia (green-blind)
#E7D155
Tritanopia (blue-blind)
#E3C8B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d5d54c;
/* rgb */ color: rgb(213, 213, 76);
/* oklch */ color: oklch(84.8% 0.155 109.3);
Tailwind
colors: {
  custom: {
    50: '#e5e185',
    500: '#d5d54c',
    950: '#000000',
  },
}
SCSS
$custom: #d5d54c;
$custom-light: #e5e185;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d54c",
  "rgb": {
    "r": 213,
    "g": 213,
    "b": 76
  },
  "hsl": {
    "h": 60,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84817,
    "c": 0.1555,
    "h": 109.3
  },
  "luminance": 0.62256
}

Semantic roles & 50–950 ramp

primary
#D5D54C
secondary
#38388D
accent
#43E543
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D54C

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

Preview Lab → · Contrast checker → · Palette generator →

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