#D5D24C#D5D24C

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

Color values

HEX#D5D24C
RGBrgb(213, 210, 76)
HSLhsl(59, 62%, 57%)
HSVhsv(59, 64%, 84%)
CMYKcmyk(0%, 1.4%, 64.3%, 16.5%)
CIE-LABlab(82.25, -15.10, 64.22)
CIE-LCHlch(82.25, 65.97, 103.23°)
OKLaboklab(84.18% -0.0472 0.145)
OKLCHoklch(84.18% 0.153 108)
XYZxyz(51.7934, 60.7627, 15.8362)
Luminance0.6076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D24C #4C4FD5
analogous
#D58E4C #D5D24C #94D54C
triadic
#D5D24C #4CD5D2 #D24CD5
tetradic
#D5D24C #4CD58E #4C4FD5 #D54C94
square
#D5D24C #4CD58E #4C4FD5 #D54C94
split-complementary
#D5D24C #4C94D5 #8E4CD5
monochromatic
#878520 #B9B52B #D5D24C #E1DE7E #ECEBAF

Accessibility & contrast

On white

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

On black

13.15
#D5D24C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D24C
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D24C#FFFFFF#000000##000000
##D5D24C1.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA3A
Deuteranopia (green-blind)
#E5CF55
Tritanopia (blue-blind)
#E4C5B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d24c;
/* rgb */ color: rgb(213, 210, 76);
/* oklch */ color: oklch(84.2% 0.152 108.0);
Tailwind
colors: {
  custom: {
    50: '#e5df85',
    500: '#d5d24c',
    950: '#000000',
  },
}
SCSS
$custom: #d5d24c;
$custom-light: #e5df85;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d24c",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 76
  },
  "hsl": {
    "h": 58.686,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84179,
    "c": 0.1525,
    "h": 108
  },
  "luminance": 0.60761
}

Semantic roles & 50–950 ramp

primary
#D5D24C
secondary
#383A8D
accent
#46E543
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D24C

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

Preview Lab → · Contrast checker → · Palette generator →

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