#D8C644#D8C644

#D8C644 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.9% C 0.147 H 101.3°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#D8C644
RGBrgb(216, 198, 68)
HSLhsl(53, 65%, 56%)
HSVhsv(53, 69%, 85%)
CMYKcmyk(0%, 8.3%, 68.5%, 15.3%)
CIE-LABlab(79.27, -8.23, 64.41)
CIE-LCHlch(79.27, 64.93, 97.28°)
OKLaboklab(81.85% -0.0288 0.144)
OKLCHoklch(81.85% 0.147 101.3)
XYZxyz(49.5585, 55.4066, 13.5518)
Luminance0.5540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C644 #4456D8
analogous
#D87C44 #D8C644 #A0D844
triadic
#D8C644 #44D8C6 #C644D8
tetradic
#D8C644 #44D87C #4456D8 #D844A0
square
#D8C644 #44D87C #4456D8 #D844A0
split-complementary
#D8C644 #44A0D8 #7C44D8
monochromatic
#86791C #B8A726 #D8C644 #E3D577 #EDE5A9

Accessibility & contrast

On white

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

On black

12.08
#D8C644 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C644
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C644#FFFFFF#000000##000000
##D8C6441.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C031
Deuteranopia (green-blind)
#DDC84C
Tritanopia (blue-blind)
#E8B8AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d8c644;
/* rgb */ color: rgb(216, 198, 68);
/* oklch */ color: oklch(81.9% 0.147 101.3);
Tailwind
colors: {
  custom: {
    50: '#e8d67f',
    500: '#d8c644',
    950: '#000000',
  },
}
SCSS
$custom: #d8c644;
$custom-light: #e8d67f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c644",
  "rgb": {
    "r": 216,
    "g": 198,
    "b": 68
  },
  "hsl": {
    "h": 52.703,
    "s": 65.487,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81853,
    "c": 0.14689,
    "h": 101.3
  },
  "luminance": 0.55404
}

Semantic roles & 50–950 ramp

primary
#D8C644
secondary
#343F8C
accent
#54E83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D8C644

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

Preview Lab → · Contrast checker → · Palette generator →

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