#D9C53F#D9C53F

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

Color values

HEX#D9C53F
RGBrgb(217, 197, 63)
HSLhsl(52, 67%, 55%)
HSVhsv(52, 71%, 85%)
CMYKcmyk(0%, 9.2%, 71%, 14.9%)
CIE-LABlab(79.07, -7.55, 66.14)
CIE-LCHlch(79.07, 66.57, 96.51°)
OKLaboklab(81.7% -0.0274 0.1468)
OKLCHoklch(81.7% 0.149 100.6)
XYZxyz(49.4810, 55.0454, 12.7201)
Luminance0.5504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C53F #3F53D9
analogous
#D9783F #D9C53F #A0D93F
triadic
#D9C53F #3FD9C5 #C53FD9
tetradic
#D9C53F #3FD978 #3F53D9 #D93FA0
square
#D9C53F #3FD978 #3F53D9 #D93FA0
split-complementary
#D9C53F #3FA0D9 #783FD9
monochromatic
#84761A #B7A424 #D9C53F #E3D472 #EDE4A5

Accessibility & contrast

On white

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

On black

12.01
#D9C53F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C53F
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C53F#FFFFFF#000000##000000
##D9C53F1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9c53f;
/* rgb */ color: rgb(217, 197, 63);
/* oklch */ color: oklch(81.7% 0.149 100.6);
Tailwind
colors: {
  custom: {
    50: '#e9d67c',
    500: '#d9c53f',
    950: '#000000',
  },
}
SCSS
$custom: #d9c53f;
$custom-light: #e9d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c53f",
  "rgb": {
    "r": 217,
    "g": 197,
    "b": 63
  },
  "hsl": {
    "h": 52.208,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81698,
    "c": 0.14933,
    "h": 100.6
  },
  "luminance": 0.55043
}

Semantic roles & 50–950 ramp

primary
#D9C53F
secondary
#323D8A
accent
#54EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C53F

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

Preview Lab → · Contrast checker → · Palette generator →

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