#D5D54F#D5D54F

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

Color values

HEX#D5D54F
RGBrgb(213, 213, 79)
HSLhsl(60, 61%, 57%)
HSVhsv(60, 63%, 84%)
CMYKcmyk(0%, 0%, 62.9%, 16.5%)
CIE-LABlab(83.07, -16.41, 63.87)
CIE-LCHlch(83.07, 65.94, 104.41°)
OKLaboklab(84.84% -0.0506 0.1447)
OKLCHoklch(84.84% 0.153 109.3)
XYZxyz(52.6478, 62.3006, 16.6475)
Luminance0.6230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D54F #4F4FD5
analogous
#D5924F #D5D54F #92D54F
triadic
#D5D54F #4FD5D5 #D54FD5
tetradic
#D5D54F #4FD592 #4F4FD5 #D54F92
square
#D5D54F #4FD592 #4F4FD5 #D54F92
split-complementary
#D5D54F #4F92D5 #924FD5
monochromatic
#898921 #BABA2C #D5D54F #E1E180 #EDEDB2

Accessibility & contrast

On white

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

On black

13.46
#D5D54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D54F
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D54F#FFFFFF#000000##000000
##D5D54F1.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d54f;
/* rgb */ color: rgb(213, 213, 79);
/* oklch */ color: oklch(84.8% 0.153 109.3);
Tailwind
colors: {
  custom: {
    50: '#e5e187',
    500: '#d5d54f',
    950: '#000000',
  },
}
SCSS
$custom: #d5d54f;
$custom-light: #e5e187;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d54f",
  "rgb": {
    "r": 213,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 60,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84842,
    "c": 0.1533,
    "h": 109.3
  },
  "luminance": 0.62299
}

Semantic roles & 50–950 ramp

primary
#D5D54F
secondary
#39398F
accent
#43E543
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D54F

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

Preview Lab → · Contrast checker → · Palette generator →

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