#D2C24C#D2C24C

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

Color values

HEX#D2C24C
RGBrgb(210, 194, 76)
HSLhsl(53, 60%, 56%)
HSVhsv(53, 64%, 82%)
CMYKcmyk(0%, 7.6%, 63.8%, 17.6%)
CIE-LABlab(77.76, -8.26, 59.42)
CIE-LCHlch(77.76, 59.99, 97.92°)
OKLaboklab(80.55% -0.0276 0.1349)
OKLCHoklch(80.55% 0.138 101.6)
XYZxyz(47.1765, 52.8090, 14.5442)
Luminance0.5281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C24C #4C5CD2
analogous
#D27F4C #D2C24C #9FD24C
triadic
#D2C24C #4CD2C2 #C24CD2
tetradic
#D2C24C #4CD27F #4C5CD2 #D24C9F
square
#D2C24C #4CD27F #4C5CD2 #D24C9F
split-complementary
#D2C24C #4C9FD2 #7F4CD2
monochromatic
#837721 #B4A42D #D2C24C #DED37D #EBE3AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #d2c24c;
/* rgb */ color: rgb(210, 194, 76);
/* oklch */ color: oklch(80.5% 0.138 101.6);
Tailwind
colors: {
  custom: {
    50: '#e3d483',
    500: '#d2c24c',
    950: '#000000',
  },
}
SCSS
$custom: #d2c24c;
$custom-light: #e3d483;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c24c",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 76
  },
  "hsl": {
    "h": 52.836,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80547,
    "c": 0.13775,
    "h": 101.6
  },
  "luminance": 0.52807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C24C

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

Preview Lab → · Contrast checker → · Palette generator →

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