#D7D24A#D7D24A

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

Color values

HEX#D7D24A
RGBrgb(215, 210, 74)
HSLhsl(58, 64%, 57%)
HSVhsv(58, 66%, 84%)
CMYKcmyk(0%, 2.3%, 65.6%, 15.7%)
CIE-LABlab(82.40, -14.38, 65.22)
CIE-LCHlch(82.40, 66.78, 102.44°)
OKLaboklab(84.33% -0.0455 0.1468)
OKLCHoklch(84.33% 0.154 107.2)
XYZxyz(52.3088, 61.0364, 15.5030)
Luminance0.6103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D24A #4A4FD7
analogous
#D78C4A #D7D24A #96D74A
triadic
#D7D24A #4AD7D2 #D24AD7
tetradic
#D7D24A #4AD78C #4A4FD7 #D74A96
square
#D7D24A #4AD78C #4A4FD7 #D74A96
split-complementary
#D7D24A #4A96D7 #8C4AD7
monochromatic
#88851E #BBB529 #D7D24A #E2DE7C #EDEBAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D24A#FFFFFF#000000##000000
##D7D24A1.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)
#E3CA37
Deuteranopia (green-blind)
#E6CF53
Tritanopia (blue-blind)
#E6C5B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7d24a;
/* rgb */ color: rgb(215, 210, 74);
/* oklch */ color: oklch(84.3% 0.154 107.2);
Tailwind
colors: {
  custom: {
    50: '#e7df84',
    500: '#d7d24a',
    950: '#000000',
  },
}
SCSS
$custom: #d7d24a;
$custom-light: #e7df84;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d24a",
  "rgb": {
    "r": 215,
    "g": 210,
    "b": 74
  },
  "hsl": {
    "h": 57.872,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84331,
    "c": 0.15364,
    "h": 107.2
  },
  "luminance": 0.61035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7D24A

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

Preview Lab → · Contrast checker → · Palette generator →

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