#D9C352#D9C352

#D9C352 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.4% C 0.134 H 98.3°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#D9C352
RGBrgb(217, 195, 82)
HSLhsl(50, 64%, 59%)
HSVhsv(50, 62%, 85%)
CMYKcmyk(0%, 10.1%, 62.2%, 14.9%)
CIE-LABlab(78.69, -5.45, 58.02)
CIE-LCHlch(78.69, 58.27, 95.37°)
OKLaboklab(81.45% -0.0193 0.1327)
OKLCHoklch(81.45% 0.134 98.3)
XYZxyz(49.6555, 54.3934, 15.8644)
Luminance0.5439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C352 #5268D9
analogous
#D97F52 #D9C352 #ABD952
triadic
#D9C352 #52D9C3 #C352D9
tetradic
#D9C352 #52D97F #5268D9 #D952AB
square
#D9C352 #52D97F #5268D9 #D952AB
split-complementary
#D9C352 #52ABD9 #7F52D9
monochromatic
#917E20 #C3AA2B #D9C352 #E4D484 #EFE6B6

Accessibility & contrast

On white

1.77
#D9C352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#D9C352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C352
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C352#FFFFFF#000000##000000
##D9C3521.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE45
Deuteranopia (green-blind)
#DBC658
Tritanopia (blue-blind)
#E9B6AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d9c352;
/* rgb */ color: rgb(217, 195, 82);
/* oklch */ color: oklch(81.4% 0.134 98.3);
Tailwind
colors: {
  custom: {
    50: '#e8d487',
    500: '#d9c352',
    950: '#000000',
  },
}
SCSS
$custom: #d9c352;
$custom-light: #e8d487;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c352",
  "rgb": {
    "r": 217,
    "g": 195,
    "b": 82
  },
  "hsl": {
    "h": 50.222,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81446,
    "c": 0.13406,
    "h": 98.3
  },
  "luminance": 0.54391
}

Semantic roles & 50–950 ramp

primary
#D9C352
secondary
#394896
accent
#5CE741
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C352

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

Preview Lab → · Contrast checker → · Palette generator →

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