#D9C344#D9C344

#D9C344 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.144 H 99.3°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#D9C344
RGBrgb(217, 195, 68)
HSLhsl(51, 66%, 56%)
HSVhsv(51, 69%, 85%)
CMYKcmyk(0%, 10.1%, 68.7%, 14.9%)
CIE-LABlab(78.58, -6.27, 63.74)
CIE-LCHlch(78.58, 64.04, 95.62°)
OKLaboklab(81.32% -0.0233 0.1426)
OKLCHoklch(81.32% 0.144 99.3)
XYZxyz(49.1760, 54.2016, 13.3394)
Luminance0.5420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C344 #445AD9
analogous
#D97844 #D9C344 #A4D944
triadic
#D9C344 #44D9C3 #C344D9
tetradic
#D9C344 #44D978 #445AD9 #D944A4
square
#D9C344 #44D978 #445AD9 #D944A4
split-complementary
#D9C344 #44A4D9 #7844D9
monochromatic
#87771B #BAA426 #D9C344 #E3D377 #EEE4AA

Accessibility & contrast

On white

1.77
#D9C344 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#D9C344 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C344
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C344#FFFFFF#000000##000000
##D9C3441.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9c344;
/* rgb */ color: rgb(217, 195, 68);
/* oklch */ color: oklch(81.3% 0.144 99.3);
Tailwind
colors: {
  custom: {
    50: '#e8d47f',
    500: '#d9c344',
    950: '#000000',
  },
}
SCSS
$custom: #d9c344;
$custom-light: #e8d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c344",
  "rgb": {
    "r": 217,
    "g": 195,
    "b": 68
  },
  "hsl": {
    "h": 51.141,
    "s": 66.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81322,
    "c": 0.14447,
    "h": 99.3
  },
  "luminance": 0.54199
}

Semantic roles & 50–950 ramp

primary
#D9C344
secondary
#34418D
accent
#58E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C344

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

Preview Lab → · Contrast checker → · Palette generator →

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