#D8D24B#D8D24B

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

Color values

HEX#D8D24B
RGBrgb(216, 210, 75)
HSLhsl(57, 64%, 57%)
HSVhsv(57, 65%, 85%)
CMYKcmyk(0%, 2.8%, 65.3%, 15.3%)
CIE-LABlab(82.49, -13.91, 64.94)
CIE-LCHlch(82.49, 66.41, 102.09°)
OKLaboklab(84.42% -0.0441 0.1463)
OKLCHoklch(84.42% 0.153 106.8)
XYZxyz(52.6374, 61.2019, 15.6957)
Luminance0.6120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D24B #4B51D8
analogous
#D88C4B #D8D24B #98D84B
triadic
#D8D24B #4BD8D2 #D24BD8
tetradic
#D8D24B #4BD88C #4B51D8 #D84B98
square
#D8D24B #4BD88C #4B51D8 #D84B98
split-complementary
#D8D24B #4B98D8 #8C4BD8
monochromatic
#8B861E #BDB729 #D8D24B #E3DF7D #EEEBB0

Accessibility & contrast

On white

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

On black

13.24
#D8D24B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D24B
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D24B#FFFFFF#000000##000000
##D8D24B1.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA39
Deuteranopia (green-blind)
#E6D054
Tritanopia (blue-blind)
#E7C5B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d24b;
/* rgb */ color: rgb(216, 210, 75);
/* oklch */ color: oklch(84.4% 0.153 106.8);
Tailwind
colors: {
  custom: {
    50: '#e7df84',
    500: '#d8d24b',
    950: '#000000',
  },
}
SCSS
$custom: #d8d24b;
$custom-light: #e7df84;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d24b",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 75
  },
  "hsl": {
    "h": 57.447,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84424,
    "c": 0.1528,
    "h": 106.8
  },
  "luminance": 0.612
}

Semantic roles & 50–950 ramp

primary
#D8D24B
secondary
#373B90
accent
#48E740
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D24B

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

Preview Lab → · Contrast checker → · Palette generator →

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