#D8C63C#D8C63C

#D8C63C is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.152 H 101.7°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#D8C63C
RGBrgb(216, 198, 60)
HSLhsl(53, 67%, 54%)
HSVhsv(53, 72%, 85%)
CMYKcmyk(0%, 8.3%, 72.2%, 15.3%)
CIE-LABlab(79.22, -8.62, 67.36)
CIE-LCHlch(79.22, 67.91, 97.30°)
OKLaboklab(81.8% -0.0307 0.1489)
OKLCHoklch(81.8% 0.152 101.7)
XYZxyz(49.3308, 55.3155, 12.3526)
Luminance0.5531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C63C #3C4ED8
analogous
#D8783C #D8C63C #9CD83C
triadic
#D8C63C #3CD8C6 #C63CD8
tetradic
#D8C63C #3CD878 #3C4ED8 #D83C9C
square
#D8C63C #3CD878 #3C4ED8 #D83C9C
split-complementary
#D8C63C #3C9CD8 #783CD8
monochromatic
#80741A #B3A224 #D8C63C #E2D56F #ECE4A2

Accessibility & contrast

On white

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

On black

12.06
#D8C63C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C63C
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C63C#FFFFFF#000000##000000
##D8C63C1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C024
Deuteranopia (green-blind)
#DEC745
Tritanopia (blue-blind)
#E8B8AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d8c63c;
/* rgb */ color: rgb(216, 198, 60);
/* oklch */ color: oklch(81.8% 0.152 101.7);
Tailwind
colors: {
  custom: {
    50: '#e8d67b',
    500: '#d8c63c',
    950: '#000000',
  },
}
SCSS
$custom: #d8c63c;
$custom-light: #e8d67b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c63c",
  "rgb": {
    "r": 216,
    "g": 198,
    "b": 60
  },
  "hsl": {
    "h": 53.077,
    "s": 66.667,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81795,
    "c": 0.15201,
    "h": 101.7
  },
  "luminance": 0.55313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8C63C

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

Preview Lab → · Contrast checker → · Palette generator →

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