#D9C844#D9C844

#D9C844 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.4% C 0.149 H 101.9°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#D9C844
RGBrgb(217, 200, 68)
HSLhsl(53, 66%, 56%)
HSVhsv(53, 69%, 85%)
CMYKcmyk(0%, 7.8%, 68.7%, 14.9%)
CIE-LABlab(79.89, -8.83, 65.06)
CIE-LCHlch(79.89, 65.65, 97.73°)
OKLaboklab(82.36% -0.0305 0.1454)
OKLCHoklch(82.36% 0.149 101.9)
XYZxyz(50.3151, 56.4798, 13.7191)
Luminance0.5648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C844 #4455D9
analogous
#D97D44 #D9C844 #A0D944
triadic
#D9C844 #44D9C8 #C844D9
tetradic
#D9C844 #44D97D #4455D9 #D944A0
square
#D9C844 #44D97D #4455D9 #D944A0
split-complementary
#D9C844 #44A0D9 #7D44D9
monochromatic
#877B1B #BAA926 #D9C844 #E3D777 #EEE6AA

Accessibility & contrast

On white

1.71
#D9C844 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#D9C844 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C844
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C844#FFFFFF#000000##000000
##D9C8441.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC231
Deuteranopia (green-blind)
#DFC94C
Tritanopia (blue-blind)
#E9BAAD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c844;
/* rgb */ color: rgb(217, 200, 68);
/* oklch */ color: oklch(82.4% 0.149 101.9);
Tailwind
colors: {
  custom: {
    50: '#e8d87f',
    500: '#d9c844',
    950: '#000000',
  },
}
SCSS
$custom: #d9c844;
$custom-light: #e8d87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c844",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 68
  },
  "hsl": {
    "h": 53.154,
    "s": 66.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82359,
    "c": 0.14854,
    "h": 101.9
  },
  "luminance": 0.56478
}

Semantic roles & 50–950 ramp

primary
#D9C844
secondary
#343E8D
accent
#52E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C844

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

Preview Lab → · Contrast checker → · Palette generator →

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