#D9C53C#D9C53C

#D9C53C is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.151 H 100.7°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#D9C53C
RGBrgb(217, 197, 60)
HSLhsl(52, 67%, 54%)
HSVhsv(52, 72%, 85%)
CMYKcmyk(0%, 9.2%, 72.4%, 14.9%)
CIE-LABlab(79.05, -7.69, 67.22)
CIE-LCHlch(79.05, 67.66, 96.52°)
OKLaboklab(81.68% -0.0281 0.1485)
OKLCHoklch(81.68% 0.151 100.7)
XYZxyz(49.3994, 55.0127, 12.2906)
Luminance0.5501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C53C #3C50D9
analogous
#D9773C #D9C53C #9ED93C
triadic
#D9C53C #3CD9C5 #C53CD9
tetradic
#D9C53C #3CD977 #3C50D9 #D93C9E
square
#D9C53C #3CD977 #3C50D9 #D93C9E
split-complementary
#D9C53C #3C9ED9 #773CD9
monochromatic
#817419 #B5A223 #D9C53C #E3D46F #EDE3A2

Accessibility & contrast

On white

1.75
#D9C53C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#D9C53C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C53C
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C53C#FFFFFF#000000##000000
##D9C53C1.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF24
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#EAB7AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d9c53c;
/* rgb */ color: rgb(217, 197, 60);
/* oklch */ color: oklch(81.7% 0.151 100.7);
Tailwind
colors: {
  custom: {
    50: '#e9d67b',
    500: '#d9c53c',
    950: '#000000',
  },
}
SCSS
$custom: #d9c53c;
$custom-light: #e9d67b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c53c",
  "rgb": {
    "r": 217,
    "g": 197,
    "b": 60
  },
  "hsl": {
    "h": 52.357,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81677,
    "c": 0.15118,
    "h": 100.7
  },
  "luminance": 0.5501
}

Semantic roles & 50–950 ramp

primary
#D9C53C
secondary
#313C88
accent
#54EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C53C

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

Preview Lab → · Contrast checker → · Palette generator →

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