#D8D24D#D8D24D

#D8D24D is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.4% C 0.151 H 106.7°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#D8D24D
RGBrgb(216, 210, 77)
HSLhsl(57, 64%, 57%)
HSVhsv(57, 64%, 85%)
CMYKcmyk(0%, 2.8%, 64.4%, 15.3%)
CIE-LABlab(82.50, -13.79, 64.16)
CIE-LCHlch(82.50, 65.62, 102.13°)
OKLaboklab(84.44% -0.0436 0.145)
OKLCHoklch(84.44% 0.151 106.7)
XYZxyz(52.7069, 61.2297, 16.0619)
Luminance0.6123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D24D #4D53D8
analogous
#D88C4D #D8D24D #99D84D
triadic
#D8D24D #4DD8D2 #D24DD8
tetradic
#D8D24D #4DD88C #4D53D8 #D84D99
square
#D8D24D #4DD88C #4D53D8 #D84D99
split-complementary
#D8D24D #4D99D8 #8C4DD8
monochromatic
#8C871F #BEB82A #D8D24D #E3DF7F #EEEBB1

Accessibility & contrast

On white

1.59
#D8D24D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#D8D24D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D24D
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D24D#FFFFFF#000000##000000
##D8D24D1.001.5913.2513.25
#FFFFFF1.591.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA3B
Deuteranopia (green-blind)
#E6D055
Tritanopia (blue-blind)
#E7C5B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d24d;
/* rgb */ color: rgb(216, 210, 77);
/* oklch */ color: oklch(84.4% 0.151 106.7);
Tailwind
colors: {
  custom: {
    50: '#e7df85',
    500: '#d8d24d',
    950: '#000000',
  },
}
SCSS
$custom: #d8d24d;
$custom-light: #e7df85;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d24d",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 77
  },
  "hsl": {
    "h": 57.41,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84441,
    "c": 0.15136,
    "h": 106.7
  },
  "luminance": 0.61228
}

Semantic roles & 50–950 ramp

primary
#D8D24D
secondary
#373B92
accent
#48E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D24D

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

Preview Lab → · Contrast checker → · Palette generator →

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