#D7C24A#D7C24A

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

Color values

HEX#D7C24A
RGBrgb(215, 194, 74)
HSLhsl(51, 64%, 57%)
HSVhsv(51, 66%, 84%)
CMYKcmyk(0%, 9.8%, 65.6%, 15.7%)
CIE-LABlab(78.19, -6.27, 60.84)
CIE-LCHlch(78.19, 61.16, 95.89°)
OKLaboklab(80.98% -0.0225 0.1375)
OKLCHoklch(80.98% 0.139 99.3)
XYZxyz(48.5543, 53.5273, 14.2515)
Luminance0.5353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C24A #4A5FD7
analogous
#D77C4A #D7C24A #A6D74A
triadic
#D7C24A #4AD7C2 #C24AD7
tetradic
#D7C24A #4AD77C #4A5FD7 #D74AA6
square
#D7C24A #4AD77C #4A5FD7 #D74AA6
split-complementary
#D7C24A #4AA6D7 #7C4AD7
monochromatic
#88791E #BBA529 #D7C24A #E2D37C #EDE4AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C24A#FFFFFF#000000##000000
##D7C24A1.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)
#D4BD3B
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#E7B4A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c24a;
/* rgb */ color: rgb(215, 194, 74);
/* oklch */ color: oklch(81.0% 0.139 99.3);
Tailwind
colors: {
  custom: {
    50: '#e7d482',
    500: '#d7c24a',
    950: '#000000',
  },
}
SCSS
$custom: #d7c24a;
$custom-light: #e7d482;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c24a",
  "rgb": {
    "r": 215,
    "g": 194,
    "b": 74
  },
  "hsl": {
    "h": 51.064,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80982,
    "c": 0.13934,
    "h": 99.3
  },
  "luminance": 0.53525
}

Semantic roles & 50–950 ramp

primary
#D7C24A
secondary
#37448F
accent
#5AE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C24A

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

Preview Lab → · Contrast checker → · Palette generator →

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