#D2C24A#D2C24A

#D2C24A is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.5% C 0.139 H 101.7°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#D2C24A
RGBrgb(210, 194, 74)
HSLhsl(53, 60%, 56%)
HSVhsv(53, 65%, 82%)
CMYKcmyk(0%, 7.6%, 64.8%, 17.6%)
CIE-LABlab(77.75, -8.39, 60.25)
CIE-LCHlch(77.75, 60.83, 97.92°)
OKLaboklab(80.53% -0.0282 0.1364)
OKLCHoklch(80.53% 0.139 101.7)
XYZxyz(47.1081, 52.7816, 14.1837)
Luminance0.5278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C24A #4A5AD2
analogous
#D27E4A #D2C24A #9ED24A
triadic
#D2C24A #4AD2C2 #C24AD2
tetradic
#D2C24A #4AD27E #4A5AD2 #D24A9E
square
#D2C24A #4AD27E #4A5AD2 #D24A9E
split-complementary
#D2C24A #4A9ED2 #7E4AD2
monochromatic
#817620 #B2A32C #D2C24A #DED37B #EAE3AC

Accessibility & contrast

On white

1.82
#D2C24A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#D2C24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C24A
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C24A#FFFFFF#000000##000000
##D2C24A1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3B
Deuteranopia (green-blind)
#D8C351
Tritanopia (blue-blind)
#E1B5A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c24a;
/* rgb */ color: rgb(210, 194, 74);
/* oklch */ color: oklch(80.5% 0.139 101.7);
Tailwind
colors: {
  custom: {
    50: '#e3d482',
    500: '#d2c24a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c24a;
$custom-light: #e3d482;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c24a",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 74
  },
  "hsl": {
    "h": 52.941,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80529,
    "c": 0.13928,
    "h": 101.7
  },
  "luminance": 0.5278
}

Semantic roles & 50–950 ramp

primary
#D2C24A
secondary
#384189
accent
#57E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C24A

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

Preview Lab → · Contrast checker → · Palette generator →

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