#D5D24F#D5D24F

#D5D24F is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.2% C 0.150 H 108.0°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#D5D24F
RGBrgb(213, 210, 79)
HSLhsl(59, 61%, 57%)
HSVhsv(59, 63%, 84%)
CMYKcmyk(0%, 1.4%, 62.9%, 16.5%)
CIE-LABlab(82.27, -14.92, 63.03)
CIE-LCHlch(82.27, 64.77, 103.32°)
OKLaboklab(84.21% -0.0464 0.143)
OKLCHoklch(84.21% 0.15 108)
XYZxyz(51.9002, 60.8054, 16.3983)
Luminance0.6080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D24F #4F52D5
analogous
#D58F4F #D5D24F #95D54F
triadic
#D5D24F #4FD5D2 #D24FD5
tetradic
#D5D24F #4FD58F #4F52D5 #D54F95
square
#D5D24F #4FD58F #4F52D5 #D54F95
split-complementary
#D5D24F #4F95D5 #8F4FD5
monochromatic
#898721 #BAB72C #D5D24F #E1DF80 #EDEBB2

Accessibility & contrast

On white

1.60
#D5D24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#D5D24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D24F
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D24F#FFFFFF#000000##000000
##D5D24F1.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA3E
Deuteranopia (green-blind)
#E5CF57
Tritanopia (blue-blind)
#E3C5B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d24f;
/* rgb */ color: rgb(213, 210, 79);
/* oklch */ color: oklch(84.2% 0.150 108.0);
Tailwind
colors: {
  custom: {
    50: '#e5df86',
    500: '#d5d24f',
    950: '#000000',
  },
}
SCSS
$custom: #d5d24f;
$custom-light: #e5df86;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d24f",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 79
  },
  "hsl": {
    "h": 58.657,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84205,
    "c": 0.15029,
    "h": 108
  },
  "luminance": 0.60804
}

Semantic roles & 50–950 ramp

primary
#D5D24F
secondary
#393B8F
accent
#47E543
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D24F

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

Preview Lab → · Contrast checker → · Palette generator →

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