#D5D924#D5D924

#D5D924 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.4% C 0.181 H 111.1°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#D5D924
RGBrgb(213, 217, 36)
HSLhsl(61, 72%, 50%)
HSVhsv(61, 83%, 85%)
CMYKcmyk(1.8%, 0%, 83.4%, 14.9%)
CIE-LABlab(83.91, -20.23, 78.46)
CIE-LCHlch(83.91, 81.03, 104.46°)
OKLaboklab(85.44% -0.0649 0.1685)
OKLCHoklch(85.44% 0.181 111.1)
XYZxyz(52.5738, 63.9007, 11.2334)
Luminance0.6390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D924 #2824D9
analogous
#D98324 #D5D924 #7BD924
triadic
#D5D924 #24D5D9 #D924D5
tetradic
#D5D924 #24D983 #2824D9 #D9247B
square
#D5D924 #24D983 #2824D9 #D9247B
split-complementary
#D5D924 #247BD9 #8324D9
monochromatic
#6E7013 #A1A51B #D5D924 #E0E357 #EAEC8C

Accessibility & contrast

On white

1.52
#D5D924 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#D5D924 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D924
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D924#FFFFFF#000000##000000
##D5D9241.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBCF00
Deuteranopia (green-blind)
#ECD338
Tritanopia (blue-blind)
#E4CBBA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d924;
/* rgb */ color: rgb(213, 217, 36);
/* oklch */ color: oklch(85.4% 0.181 111.1);
Tailwind
colors: {
  custom: {
    50: '#e6e473',
    500: '#d5d924',
    950: '#000000',
  },
}
SCSS
$custom: #d5d924;
$custom-light: #e6e473;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d924",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 36
  },
  "hsl": {
    "h": 61.326,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.85441,
    "c": 0.18057,
    "h": 111.1
  },
  "luminance": 0.63899
}

Semantic roles & 50–950 ramp

primary
#D5D924
secondary
#2A2879
accent
#3AEE3E
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D5D924

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

Preview Lab → · Contrast checker → · Palette generator →

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