#D9C63C#D9C63C

#D9C63C is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.9% C 0.152 H 101.2°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#D9C63C
RGBrgb(217, 198, 60)
HSLhsl(53, 67%, 54%)
HSVhsv(53, 72%, 85%)
CMYKcmyk(0%, 8.8%, 72.4%, 14.9%)
CIE-LABlab(79.31, -8.20, 67.47)
CIE-LCHlch(79.31, 67.97, 96.93°)
OKLaboklab(81.88% -0.0296 0.1491)
OKLCHoklch(81.88% 0.152 101.2)
XYZxyz(49.6272, 55.4684, 12.3665)
Luminance0.5547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C63C #3C4FD9
analogous
#D9783C #D9C63C #9ED93C
triadic
#D9C63C #3CD9C6 #C63CD9
tetradic
#D9C63C #3CD978 #3C4FD9 #D93C9E
square
#D9C63C #3CD978 #3C4FD9 #D93C9E
split-complementary
#D9C63C #3C9ED9 #783CD9
monochromatic
#817519 #B5A323 #D9C63C #E3D56F #EDE4A2

Accessibility & contrast

On white

1.74
#D9C63C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#D9C63C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C63C
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C63C#FFFFFF#000000##000000
##D9C63C1.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C024
Deuteranopia (green-blind)
#DEC845
Tritanopia (blue-blind)
#EAB8AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d9c63c;
/* rgb */ color: rgb(217, 198, 60);
/* oklch */ color: oklch(81.9% 0.152 101.2);
Tailwind
colors: {
  custom: {
    50: '#e9d67b',
    500: '#d9c63c',
    950: '#000000',
  },
}
SCSS
$custom: #d9c63c;
$custom-light: #e9d67b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c63c",
  "rgb": {
    "r": 217,
    "g": 198,
    "b": 60
  },
  "hsl": {
    "h": 52.739,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81885,
    "c": 0.15197,
    "h": 101.2
  },
  "luminance": 0.55466
}

Semantic roles & 50–950 ramp

primary
#D9C63C
secondary
#313B88
accent
#52EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C63C

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

Preview Lab → · Contrast checker → · Palette generator →

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