#D7D24B#D7D24B

#D7D24B is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.3% C 0.153 H 107.2°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#D7D24B
RGBrgb(215, 210, 75)
HSLhsl(58, 64%, 57%)
HSVhsv(58, 65%, 84%)
CMYKcmyk(0%, 2.3%, 65.1%, 15.7%)
CIE-LABlab(82.41, -14.33, 64.83)
CIE-LCHlch(82.41, 66.39, 102.46°)
OKLaboklab(84.34% -0.0452 0.1461)
OKLCHoklch(84.34% 0.153 107.2)
XYZxyz(52.3428, 61.0500, 15.6819)
Luminance0.6105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D24B #4B50D7
analogous
#D78C4B #D7D24B #96D74B
triadic
#D7D24B #4BD7D2 #D24BD7
tetradic
#D7D24B #4BD78C #4B50D7 #D74B96
square
#D7D24B #4BD78C #4B50D7 #D74B96
split-complementary
#D7D24B #4B96D7 #8C4BD7
monochromatic
#89851E #BBB62A #D7D24B #E2DF7D #EDEBAF

Accessibility & contrast

On white

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

On black

13.21
#D7D24B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D24B
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D24B#FFFFFF#000000##000000
##D7D24B1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d24b;
/* rgb */ color: rgb(215, 210, 75);
/* oklch */ color: oklch(84.3% 0.153 107.2);
Tailwind
colors: {
  custom: {
    50: '#e7df84',
    500: '#d7d24b',
    950: '#000000',
  },
}
SCSS
$custom: #d7d24b;
$custom-light: #e7df84;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d24b",
  "rgb": {
    "r": 215,
    "g": 210,
    "b": 75
  },
  "hsl": {
    "h": 57.857,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84339,
    "c": 0.15293,
    "h": 107.2
  },
  "luminance": 0.61048
}

Semantic roles & 50–950 ramp

primary
#D7D24B
secondary
#373A8F
accent
#47E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D24B

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

Preview Lab → · Contrast checker → · Palette generator →

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