#D7C24D#D7C24D

#D7C24D is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.137 H 99.1°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#D7C24D
RGBrgb(215, 194, 77)
HSLhsl(51, 63%, 57%)
HSVhsv(51, 64%, 84%)
CMYKcmyk(0%, 9.8%, 64.2%, 15.7%)
CIE-LABlab(78.21, -6.09, 59.61)
CIE-LCHlch(78.21, 59.92, 95.84°)
OKLaboklab(81.01% -0.0216 0.1354)
OKLCHoklch(81.01% 0.137 99.1)
XYZxyz(48.6578, 53.5687, 14.7965)
Luminance0.5357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C24D #4D62D7
analogous
#D77D4D #D7C24D #A7D74D
triadic
#D7C24D #4DD7C2 #C24DD7
tetradic
#D7C24D #4DD77D #4D62D7 #D74DA7
square
#D7C24D #4DD77D #4D62D7 #D74DA7
split-complementary
#D7C24D #4DA7D7 #7D4DD7
monochromatic
#8A7A1F #BCA62A #D7C24D #E2D37F #EDE4B1

Accessibility & contrast

On white

1.79
#D7C24D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#D7C24D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C24D
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C24D#FFFFFF#000000##000000
##D7C24D1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3F
Deuteranopia (green-blind)
#D9C553
Tritanopia (blue-blind)
#E7B5A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c24d;
/* rgb */ color: rgb(215, 194, 77);
/* oklch */ color: oklch(81.0% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#e7d484',
    500: '#d7c24d',
    950: '#000000',
  },
}
SCSS
$custom: #d7c24d;
$custom-light: #e7d484;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c24d",
  "rgb": {
    "r": 215,
    "g": 194,
    "b": 77
  },
  "hsl": {
    "h": 50.87,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81009,
    "c": 0.13707,
    "h": 99.1
  },
  "luminance": 0.53566
}

Semantic roles & 50–950 ramp

primary
#D7C24D
secondary
#384590
accent
#5BE641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C24D

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

Preview Lab → · Contrast checker → · Palette generator →

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