#D8C344#D8C344

#D8C344 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.144 H 99.7°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#D8C344
RGBrgb(216, 195, 68)
HSLhsl(51, 65%, 56%)
HSVhsv(51, 69%, 85%)
CMYKcmyk(0%, 9.7%, 68.5%, 15.3%)
CIE-LABlab(78.49, -6.70, 63.62)
CIE-LCHlch(78.49, 63.97, 96.01°)
OKLaboklab(81.23% -0.0244 0.1424)
OKLCHoklch(81.23% 0.144 99.7)
XYZxyz(48.8796, 54.0488, 13.3255)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C344 #4459D8
analogous
#D87944 #D8C344 #A3D844
triadic
#D8C344 #44D8C3 #C344D8
tetradic
#D8C344 #44D879 #4459D8 #D844A3
square
#D8C344 #44D879 #4459D8 #D844A3
split-complementary
#D8C344 #44A3D8 #7944D8
monochromatic
#86771C #B8A426 #D8C344 #E3D377 #EDE3A9

Accessibility & contrast

On white

1.78
#D8C344 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#D8C344 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C344
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C344#FFFFFF#000000##000000
##D8C3441.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE32
Deuteranopia (green-blind)
#DBC64C
Tritanopia (blue-blind)
#E8B5A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d8c344;
/* rgb */ color: rgb(216, 195, 68);
/* oklch */ color: oklch(81.2% 0.144 99.7);
Tailwind
colors: {
  custom: {
    50: '#e8d47f',
    500: '#d8c344',
    950: '#000000',
  },
}
SCSS
$custom: #d8c344;
$custom-light: #e8d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c344",
  "rgb": {
    "r": 216,
    "g": 195,
    "b": 68
  },
  "hsl": {
    "h": 51.486,
    "s": 65.487,
    "l": 55.686
  },
  "oklch": {
    "l": 0.8123,
    "c": 0.14444,
    "h": 99.7
  },
  "luminance": 0.54046
}

Semantic roles & 50–950 ramp

primary
#D8C344
secondary
#34418C
accent
#57E83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D8C344

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

Preview Lab → · Contrast checker → · Palette generator →

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