#D9C63F#D9C63F

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

Color values

HEX#D9C63F
RGBrgb(217, 198, 63)
HSLhsl(53, 67%, 55%)
HSVhsv(53, 71%, 85%)
CMYKcmyk(0%, 8.8%, 71%, 14.9%)
CIE-LABlab(79.33, -8.06, 66.40)
CIE-LCHlch(79.33, 66.88, 96.92°)
OKLaboklab(81.91% -0.0289 0.1473)
OKLCHoklch(81.91% 0.15 101.1)
XYZxyz(49.7088, 55.5010, 12.7961)
Luminance0.5550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C63F #3F52D9
analogous
#D9793F #D9C63F #9FD93F
triadic
#D9C63F #3FD9C6 #C63FD9
tetradic
#D9C63F #3FD979 #3F52D9 #D93F9F
square
#D9C63F #3FD979 #3F52D9 #D93F9F
split-complementary
#D9C63F #3F9FD9 #793FD9
monochromatic
#84771A #B7A524 #D9C63F #E3D572 #EDE4A5

Accessibility & contrast

On white

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

On black

12.10
#D9C63F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C63F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C63F#FFFFFF#000000##000000
##D9C63F1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9c63f;
/* rgb */ color: rgb(217, 198, 63);
/* oklch */ color: oklch(81.9% 0.150 101.1);
Tailwind
colors: {
  custom: {
    50: '#e9d67c',
    500: '#d9c63f',
    950: '#000000',
  },
}
SCSS
$custom: #d9c63f;
$custom-light: #e9d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c63f",
  "rgb": {
    "r": 217,
    "g": 198,
    "b": 63
  },
  "hsl": {
    "h": 52.597,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81906,
    "c": 0.15013,
    "h": 101.1
  },
  "luminance": 0.55499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9C63F

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

Preview Lab → · Contrast checker → · Palette generator →

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