#D8C44A#D8C44A

#D8C44A is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.141 H 99.9°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#D8C44A
RGBrgb(216, 196, 74)
HSLhsl(52, 65%, 57%)
HSVhsv(52, 66%, 85%)
CMYKcmyk(0%, 9.3%, 65.7%, 15.3%)
CIE-LABlab(78.80, -6.88, 61.51)
CIE-LCHlch(78.80, 61.89, 96.38°)
OKLaboklab(81.49% -0.0243 0.1389)
OKLCHoklch(81.49% 0.141 99.9)
XYZxyz(49.2970, 54.5754, 14.4147)
Luminance0.5457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C44A #4A5ED8
analogous
#D87D4A #D8C44A #A5D84A
triadic
#D8C44A #4AD8C4 #C44AD8
tetradic
#D8C44A #4AD87D #4A5ED8 #D84AA5
square
#D8C44A #4AD87D #4A5ED8 #D84AA5
split-complementary
#D8C44A #4AA5D8 #7D4AD8
monochromatic
#8A7B1E #BCA729 #D8C44A #E3D47C #EEE5AF

Accessibility & contrast

On white

1.76
#D8C44A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#D8C44A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C44A
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C44A#FFFFFF#000000##000000
##D8C44A1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3A
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#E8B6AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d8c44a;
/* rgb */ color: rgb(216, 196, 74);
/* oklch */ color: oklch(81.5% 0.141 99.9);
Tailwind
colors: {
  custom: {
    50: '#e7d582',
    500: '#d8c44a',
    950: '#000000',
  },
}
SCSS
$custom: #d8c44a;
$custom-light: #e7d582;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c44a",
  "rgb": {
    "r": 216,
    "g": 196,
    "b": 74
  },
  "hsl": {
    "h": 51.549,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81487,
    "c": 0.14099,
    "h": 99.9
  },
  "luminance": 0.54573
}

Semantic roles & 50–950 ramp

primary
#D8C44A
secondary
#364390
accent
#58E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8C44A

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

Preview Lab → · Contrast checker → · Palette generator →

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