#D7D24D#D7D24D

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

Color values

HEX#D7D24D
RGBrgb(215, 210, 77)
HSLhsl(58, 63%, 57%)
HSVhsv(58, 64%, 84%)
CMYKcmyk(0%, 2.3%, 64.2%, 15.7%)
CIE-LABlab(82.42, -14.21, 64.05)
CIE-LCHlch(82.42, 65.60, 102.51°)
OKLaboklab(84.36% -0.0447 0.1447)
OKLCHoklch(84.36% 0.151 107.2)
XYZxyz(52.4123, 61.0778, 16.0480)
Luminance0.6108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D24D #4D52D7
analogous
#D78D4D #D7D24D #97D74D
triadic
#D7D24D #4DD7D2 #D24DD7
tetradic
#D7D24D #4DD78D #4D52D7 #D74D97
square
#D7D24D #4DD78D #4D52D7 #D74D97
split-complementary
#D7D24D #4D97D7 #8D4DD7
monochromatic
#8A871F #BCB72A #D7D24D #E2DF7F #EDEBB1

Accessibility & contrast

On white

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

On black

13.22
#D7D24D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D24D
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D24D#FFFFFF#000000##000000
##D7D24D1.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d24d;
/* rgb */ color: rgb(215, 210, 77);
/* oklch */ color: oklch(84.4% 0.151 107.2);
Tailwind
colors: {
  custom: {
    50: '#e7df85',
    500: '#d7d24d',
    950: '#000000',
  },
}
SCSS
$custom: #d7d24d;
$custom-light: #e7df85;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d24d",
  "rgb": {
    "r": 215,
    "g": 210,
    "b": 77
  },
  "hsl": {
    "h": 57.826,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84356,
    "c": 0.15149,
    "h": 107.2
  },
  "luminance": 0.61076
}

Semantic roles & 50–950 ramp

primary
#D7D24D
secondary
#383B90
accent
#47E641
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D24D

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

Preview Lab → · Contrast checker → · Palette generator →

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