#D2C24D#D2C24D

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

Color values

HEX#D2C24D
RGBrgb(210, 194, 77)
HSLhsl(53, 60%, 56%)
HSVhsv(53, 63%, 82%)
CMYKcmyk(0%, 7.6%, 63.3%, 17.6%)
CIE-LABlab(77.77, -8.20, 59.01)
CIE-LCHlch(77.77, 59.57, 97.91°)
OKLaboklab(80.56% -0.0274 0.1342)
OKLCHoklch(80.56% 0.137 101.5)
XYZxyz(47.2116, 52.8230, 14.7287)
Luminance0.5282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C24D #4D5DD2
analogous
#D2804D #D2C24D #A0D24D
triadic
#D2C24D #4DD2C2 #C24DD2
tetradic
#D2C24D #4DD280 #4D5DD2 #D24DA0
square
#D2C24D #4DD280 #4D5DD2 #D24DA0
split-complementary
#D2C24D #4DA0D2 #804DD2
monochromatic
#837821 #B4A42E #D2C24D #DED37E #EBE3AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C24D#FFFFFF#000000##000000
##D2C24D1.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)
#D3BC3F
Deuteranopia (green-blind)
#D8C353
Tritanopia (blue-blind)
#E1B5A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c24d;
/* rgb */ color: rgb(210, 194, 77);
/* oklch */ color: oklch(80.6% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#e3d484',
    500: '#d2c24d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c24d;
$custom-light: #e3d484;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c24d",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 77
  },
  "hsl": {
    "h": 52.782,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80556,
    "c": 0.13698,
    "h": 101.5
  },
  "luminance": 0.52821
}

Semantic roles & 50–950 ramp

primary
#D2C24D
secondary
#39438A
accent
#58E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C24D

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

Preview Lab → · Contrast checker → · Palette generator →

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