#D9C53D#D9C53D

#D9C53D 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#D9C53D
RGBrgb(217, 197, 61)
HSLhsl(52, 67%, 55%)
HSVhsv(52, 72%, 85%)
CMYKcmyk(0%, 9.2%, 71.9%, 14.9%)
CIE-LABlab(79.05, -7.64, 66.86)
CIE-LCHlch(79.05, 67.30, 96.52°)
OKLaboklab(81.68% -0.0279 0.148)
OKLCHoklch(81.68% 0.151 100.7)
XYZxyz(49.4261, 55.0234, 12.4311)
Luminance0.5502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C53D #3D51D9
analogous
#D9773D #D9C53D #9FD93D
triadic
#D9C53D #3DD9C5 #C53DD9
tetradic
#D9C53D #3DD977 #3D51D9 #D93D9F
square
#D9C53D #3DD977 #3D51D9 #D93D9F
split-complementary
#D9C53D #3D9FD9 #773DD9
monochromatic
#827519 #B5A324 #D9C53D #E3D470 #EDE4A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9C53D#FFFFFF#000000##000000
##D9C53D1.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)
#D8BF26
Deuteranopia (green-blind)
#DDC746
Tritanopia (blue-blind)
#EAB7AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d9c53d;
/* rgb */ color: rgb(217, 197, 61);
/* oklch */ color: oklch(81.7% 0.151 100.7);
Tailwind
colors: {
  custom: {
    50: '#e9d67b',
    500: '#d9c53d',
    950: '#000000',
  },
}
SCSS
$custom: #d9c53d;
$custom-light: #e9d67b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c53d",
  "rgb": {
    "r": 217,
    "g": 197,
    "b": 61
  },
  "hsl": {
    "h": 52.308,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81684,
    "c": 0.15057,
    "h": 100.7
  },
  "luminance": 0.55021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9C53D

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

Preview Lab → · Contrast checker → · Palette generator →

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