#D9C944#D9C944

#D9C944 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.6% C 0.149 H 102.4°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#D9C944
RGBrgb(217, 201, 68)
HSLhsl(54, 66%, 56%)
HSVhsv(54, 69%, 85%)
CMYKcmyk(0%, 7.4%, 68.7%, 14.9%)
CIE-LABlab(80.15, -9.34, 65.32)
CIE-LCHlch(80.15, 65.98, 98.14°)
OKLaboklab(82.57% -0.032 0.1459)
OKLCHoklch(82.57% 0.149 102.4)
XYZxyz(50.5475, 56.9445, 13.7965)
Luminance0.5694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C944 #4454D9
analogous
#D97E44 #D9C944 #9ED944
triadic
#D9C944 #44D9C9 #C944D9
tetradic
#D9C944 #44D97E #4454D9 #D9449E
square
#D9C944 #44D97E #4454D9 #D9449E
split-complementary
#D9C944 #449ED9 #7E44D9
monochromatic
#877C1B #BAAA26 #D9C944 #E3D877 #EEE6AA

Accessibility & contrast

On white

1.70
#D9C944 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#D9C944 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C944
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C944#FFFFFF#000000##000000
##D9C9441.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC330
Deuteranopia (green-blind)
#E0CA4C
Tritanopia (blue-blind)
#E9BBAE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d9c944;
/* rgb */ color: rgb(217, 201, 68);
/* oklch */ color: oklch(82.6% 0.149 102.4);
Tailwind
colors: {
  custom: {
    50: '#e8d97f',
    500: '#d9c944',
    950: '#000000',
  },
}
SCSS
$custom: #d9c944;
$custom-light: #e8d97f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c944",
  "rgb": {
    "r": 217,
    "g": 201,
    "b": 68
  },
  "hsl": {
    "h": 53.557,
    "s": 66.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82567,
    "c": 0.14939,
    "h": 102.4
  },
  "luminance": 0.56942
}

Semantic roles & 50–950 ramp

primary
#D9C944
secondary
#343D8D
accent
#51E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C944

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

Preview Lab → · Contrast checker → · Palette generator →

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