#D4C24A#D4C24A

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

Color values

HEX#D4C24A
RGBrgb(212, 194, 74)
HSLhsl(52, 62%, 56%)
HSVhsv(52, 65%, 83%)
CMYKcmyk(0%, 8.5%, 65.1%, 16.9%)
CIE-LABlab(77.92, -7.54, 60.48)
CIE-LCHlch(77.92, 60.95, 97.11°)
OKLaboklab(80.71% -0.0259 0.1368)
OKLCHoklch(80.71% 0.139 100.7)
XYZxyz(47.6812, 53.0771, 14.2106)
Luminance0.5308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C24A #4A5CD4
analogous
#D47D4A #D4C24A #A1D44A
triadic
#D4C24A #4AD4C2 #C24AD4
tetradic
#D4C24A #4AD47D #4A5CD4 #D44AA1
square
#D4C24A #4AD47D #4A5CD4 #D44AA1
split-complementary
#D4C24A #4AA1D4 #7D4AD4
monochromatic
#84771F #B6A42B #D4C24A #E0D37B #EBE3AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4C24A#FFFFFF#000000##000000
##D4C24A1.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)
#D3BD3B
Deuteranopia (green-blind)
#D9C451
Tritanopia (blue-blind)
#E4B5A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c24a;
/* rgb */ color: rgb(212, 194, 74);
/* oklch */ color: oklch(80.7% 0.139 100.7);
Tailwind
colors: {
  custom: {
    50: '#e4d482',
    500: '#d4c24a',
    950: '#000000',
  },
}
SCSS
$custom: #d4c24a;
$custom-light: #e4d482;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c24a",
  "rgb": {
    "r": 212,
    "g": 194,
    "b": 74
  },
  "hsl": {
    "h": 52.174,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80709,
    "c": 0.13928,
    "h": 100.7
  },
  "luminance": 0.53075
}

Semantic roles & 50–950 ramp

primary
#D4C24A
secondary
#37428B
accent
#58E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C24A

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

Preview Lab → · Contrast checker → · Palette generator →

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