#D8C53C#D8C53C

#D8C53C is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.6% C 0.151 H 101.2°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#D8C53C
RGBrgb(216, 197, 60)
HSLhsl(53, 67%, 54%)
HSVhsv(53, 72%, 85%)
CMYKcmyk(0%, 8.8%, 72.2%, 15.3%)
CIE-LABlab(78.96, -8.11, 67.10)
CIE-LCHlch(78.96, 67.59, 96.89°)
OKLaboklab(81.59% -0.0293 0.1483)
OKLCHoklch(81.59% 0.151 101.2)
XYZxyz(49.1030, 54.8599, 12.2767)
Luminance0.5486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C53C #3C4FD8
analogous
#D8773C #D8C53C #9DD83C
triadic
#D8C53C #3CD8C5 #C53CD8
tetradic
#D8C53C #3CD877 #3C4FD8 #D83C9D
square
#D8C53C #3CD877 #3C4FD8 #D83C9D
split-complementary
#D8C53C #3C9DD8 #773CD8
monochromatic
#80741A #B3A224 #D8C53C #E2D46F #ECE3A2

Accessibility & contrast

On white

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

On black

11.97
#D8C53C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C53C
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C53C#FFFFFF#000000##000000
##D8C53C1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF24
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#E9B7AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d8c53c;
/* rgb */ color: rgb(216, 197, 60);
/* oklch */ color: oklch(81.6% 0.151 101.2);
Tailwind
colors: {
  custom: {
    50: '#e8d67b',
    500: '#d8c53c',
    950: '#000000',
  },
}
SCSS
$custom: #d8c53c;
$custom-light: #e8d67b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c53c",
  "rgb": {
    "r": 216,
    "g": 197,
    "b": 60
  },
  "hsl": {
    "h": 52.692,
    "s": 66.667,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81586,
    "c": 0.15119,
    "h": 101.2
  },
  "luminance": 0.54858
}

Semantic roles & 50–950 ramp

primary
#D8C53C
secondary
#313C87
accent
#53EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D8C53C

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

Preview Lab → · Contrast checker → · Palette generator →

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