#D7D24C#D7D24C

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

Color values

HEX#D7D24C
RGBrgb(215, 210, 76)
HSLhsl(58, 63%, 57%)
HSVhsv(58, 65%, 84%)
CMYKcmyk(0%, 2.3%, 64.7%, 15.7%)
CIE-LABlab(82.41, -14.27, 64.44)
CIE-LCHlch(82.41, 66.00, 102.49°)
OKLaboklab(84.35% -0.045 0.1454)
OKLCHoklch(84.35% 0.152 107.2)
XYZxyz(52.3773, 61.0638, 15.8635)
Luminance0.6106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D24C #4C51D7
analogous
#D78D4C #D7D24C #96D74C
triadic
#D7D24C #4CD7D2 #D24CD7
tetradic
#D7D24C #4CD78D #4C51D7 #D74C96
square
#D7D24C #4CD78D #4C51D7 #D74C96
split-complementary
#D7D24C #4C96D7 #8D4CD7
monochromatic
#8A861F #BCB72A #D7D24C #E2DF7E #EDEBB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D24C#FFFFFF#000000##000000
##D7D24C1.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)
#E3CA3A
Deuteranopia (green-blind)
#E6CF54
Tritanopia (blue-blind)
#E6C5B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7d24c;
/* rgb */ color: rgb(215, 210, 76);
/* oklch */ color: oklch(84.3% 0.152 107.2);
Tailwind
colors: {
  custom: {
    50: '#e7df85',
    500: '#d7d24c',
    950: '#000000',
  },
}
SCSS
$custom: #d7d24c;
$custom-light: #e7df85;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d24c",
  "rgb": {
    "r": 215,
    "g": 210,
    "b": 76
  },
  "hsl": {
    "h": 57.842,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84348,
    "c": 0.15221,
    "h": 107.2
  },
  "luminance": 0.61062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7D24C

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

Preview Lab → · Contrast checker → · Palette generator →

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