#D4C352#D4C352

#D4C352 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.134 H 100.8°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#D4C352
RGBrgb(212, 195, 82)
HSLhsl(52, 60%, 58%)
HSVhsv(52, 61%, 83%)
CMYKcmyk(0%, 8%, 61.3%, 16.9%)
CIE-LABlab(78.25, -7.55, 57.41)
CIE-LCHlch(78.25, 57.91, 97.49°)
OKLaboklab(80.99% -0.025 0.1315)
OKLCHoklch(80.99% 0.134 100.8)
XYZxyz(48.1914, 53.6384, 15.7958)
Luminance0.5364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C352 #5263D4
analogous
#D48252 #D4C352 #A4D452
triadic
#D4C352 #52D4C3 #C352D4
tetradic
#D4C352 #52D482 #5263D4 #D452A4
square
#D4C352 #52D482 #5263D4 #D452A4
split-complementary
#D4C352 #52A4D4 #8252D4
monochromatic
#897C22 #BAA82E #D4C352 #E0D483 #ECE5B4

Accessibility & contrast

On white

1.79
#D4C352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#D4C352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C352
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C352#FFFFFF#000000##000000
##D4C3521.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#D9C558
Tritanopia (blue-blind)
#E3B6AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c352;
/* rgb */ color: rgb(212, 195, 82);
/* oklch */ color: oklch(81.0% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#e4d487',
    500: '#d4c352',
    950: '#000000',
  },
}
SCSS
$custom: #d4c352;
$custom-light: #e4d487;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c352",
  "rgb": {
    "r": 212,
    "g": 195,
    "b": 82
  },
  "hsl": {
    "h": 52.154,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80992,
    "c": 0.13385,
    "h": 100.8
  },
  "luminance": 0.53636
}

Semantic roles & 50–950 ramp

primary
#D4C352
secondary
#3B4690
accent
#59E344
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C352

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

Preview Lab → · Contrast checker → · Palette generator →

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