#D8C044#D8C044

#D8C044 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.142 H 98.1°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#D8C044
RGBrgb(216, 192, 68)
HSLhsl(50, 65%, 56%)
HSVhsv(50, 69%, 85%)
CMYKcmyk(0%, 11.1%, 68.5%, 15.3%)
CIE-LABlab(77.71, -5.15, 62.82)
CIE-LCHlch(77.71, 63.03, 94.69°)
OKLaboklab(80.61% -0.02 0.1407)
OKLCHoklch(80.61% 0.142 98.1)
XYZxyz(48.2142, 52.7179, 13.1037)
Luminance0.5272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C044 #445CD8
analogous
#D87644 #D8C044 #A6D844
triadic
#D8C044 #44D8C0 #C044D8
tetradic
#D8C044 #44D876 #445CD8 #D844A6
square
#D8C044 #44D876 #445CD8 #D844A6
split-complementary
#D8C044 #44A6D8 #7644D8
monochromatic
#86751C #B8A126 #D8C044 #E3D177 #EDE2A9

Accessibility & contrast

On white

1.82
#D8C044 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#D8C044 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C044
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C044#FFFFFF#000000##000000
##D8C0441.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB33
Deuteranopia (green-blind)
#D9C44B
Tritanopia (blue-blind)
#E9B2A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d8c044;
/* rgb */ color: rgb(216, 192, 68);
/* oklch */ color: oklch(80.6% 0.142 98.1);
Tailwind
colors: {
  custom: {
    50: '#e8d27f',
    500: '#d8c044',
    950: '#000000',
  },
}
SCSS
$custom: #d8c044;
$custom-light: #e8d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c044",
  "rgb": {
    "r": 216,
    "g": 192,
    "b": 68
  },
  "hsl": {
    "h": 50.27,
    "s": 65.487,
    "l": 55.686
  },
  "oklch": {
    "l": 0.8061,
    "c": 0.1421,
    "h": 98.1
  },
  "luminance": 0.52716
}

Semantic roles & 50–950 ramp

primary
#D8C044
secondary
#34428C
accent
#5BE83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D8C044

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

Preview Lab → · Contrast checker → · Palette generator →

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