#D8C648#D8C648

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

Color values

HEX#D8C648
RGBrgb(216, 198, 72)
HSLhsl(53, 65%, 56%)
HSVhsv(53, 67%, 85%)
CMYKcmyk(0%, 8.3%, 66.7%, 15.3%)
CIE-LABlab(79.30, -8.02, 62.85)
CIE-LCHlch(79.30, 63.36, 97.27°)
OKLaboklab(81.88% -0.0277 0.1414)
OKLCHoklch(81.88% 0.144 101.1)
XYZxyz(49.6848, 55.4571, 14.2168)
Luminance0.5545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C648 #485AD8
analogous
#D87E48 #D8C648 #A2D848
triadic
#D8C648 #48D8C6 #C648D8
tetradic
#D8C648 #48D87E #485AD8 #D848A2
square
#D8C648 #48D87E #485AD8 #D848A2
split-complementary
#D8C648 #48A2D8 #7E48D8
monochromatic
#897B1D #BBA928 #D8C648 #E3D67A #EEE5AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8C648#FFFFFF#000000##000000
##D8C6481.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)
#D8C037
Deuteranopia (green-blind)
#DDC84F
Tritanopia (blue-blind)
#E8B8AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d8c648;
/* rgb */ color: rgb(216, 198, 72);
/* oklch */ color: oklch(81.9% 0.144 101.1);
Tailwind
colors: {
  custom: {
    50: '#e7d781',
    500: '#d8c648',
    950: '#000000',
  },
}
SCSS
$custom: #d8c648;
$custom-light: #e7d781;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c648",
  "rgb": {
    "r": 216,
    "g": 198,
    "b": 72
  },
  "hsl": {
    "h": 52.5,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81885,
    "c": 0.1441,
    "h": 101.1
  },
  "luminance": 0.55455
}

Semantic roles & 50–950 ramp

primary
#D8C648
secondary
#36418F
accent
#55E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8C648

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

Preview Lab → · Contrast checker → · Palette generator →

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