#D4C24D#D4C24D

#D4C24D is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.7% C 0.137 H 100.5°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#D4C24D
RGBrgb(212, 194, 77)
HSLhsl(52, 61%, 57%)
HSVhsv(52, 64%, 83%)
CMYKcmyk(0%, 8.5%, 63.7%, 16.9%)
CIE-LABlab(77.94, -7.36, 59.24)
CIE-LCHlch(77.94, 59.70, 97.08°)
OKLaboklab(80.74% -0.0251 0.1347)
OKLCHoklch(80.74% 0.137 100.5)
XYZxyz(47.7847, 53.1185, 14.7556)
Luminance0.5312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C24D #4D5FD4
analogous
#D47F4D #D4C24D #A3D44D
triadic
#D4C24D #4DD4C2 #C24DD4
tetradic
#D4C24D #4DD47F #4D5FD4 #D44DA3
square
#D4C24D #4DD47F #4D5FD4 #D44DA3
split-complementary
#D4C24D #4DA3D4 #7F4DD4
monochromatic
#867920 #B7A52C #D4C24D #E0D37E #ECE4B0

Accessibility & contrast

On white

1.81
#D4C24D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#D4C24D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C24D
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C24D#FFFFFF#000000##000000
##D4C24D1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD3F
Deuteranopia (green-blind)
#D8C453
Tritanopia (blue-blind)
#E3B5A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c24d;
/* rgb */ color: rgb(212, 194, 77);
/* oklch */ color: oklch(80.7% 0.137 100.5);
Tailwind
colors: {
  custom: {
    50: '#e4d484',
    500: '#d4c24d',
    950: '#000000',
  },
}
SCSS
$custom: #d4c24d;
$custom-light: #e4d484;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c24d",
  "rgb": {
    "r": 212,
    "g": 194,
    "b": 77
  },
  "hsl": {
    "h": 52,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80736,
    "c": 0.13698,
    "h": 100.5
  },
  "luminance": 0.53116
}

Semantic roles & 50–950 ramp

primary
#D4C24D
secondary
#38448D
accent
#59E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4C24D

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

Preview Lab → · Contrast checker → · Palette generator →

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