#D9C841#D9C841

#D9C841 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.3% C 0.151 H 102.0°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#D9C841
RGBrgb(217, 200, 65)
HSLhsl(53, 67%, 55%)
HSVhsv(53, 70%, 85%)
CMYKcmyk(0%, 7.8%, 70%, 14.9%)
CIE-LABlab(79.87, -8.98, 66.18)
CIE-LCHlch(79.87, 66.79, 97.73°)
OKLaboklab(82.34% -0.0313 0.1472)
OKLCHoklch(82.34% 0.151 102)
XYZxyz(50.2259, 56.4441, 13.2492)
Luminance0.5644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C841 #4152D9
analogous
#D97C41 #D9C841 #9ED941
triadic
#D9C841 #41D9C8 #C841D9
tetradic
#D9C841 #41D97C #4152D9 #D9419E
square
#D9C841 #41D97C #4152D9 #D9419E
split-complementary
#D9C841 #419ED9 #7C41D9
monochromatic
#85791B #B8A825 #D9C841 #E3D774 #EDE6A7

Accessibility & contrast

On white

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

On black

12.29
#D9C841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C841
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C841#FFFFFF#000000##000000
##D9C8411.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9c841;
/* rgb */ color: rgb(217, 200, 65);
/* oklch */ color: oklch(82.3% 0.151 102.0);
Tailwind
colors: {
  custom: {
    50: '#e8d87e',
    500: '#d9c841',
    950: '#000000',
  },
}
SCSS
$custom: #d9c841;
$custom-light: #e8d87e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c841",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 53.289,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82336,
    "c": 0.15052,
    "h": 102
  },
  "luminance": 0.56442
}

Semantic roles & 50–950 ramp

primary
#D9C841
secondary
#333D8B
accent
#51EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C841

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

Preview Lab → · Contrast checker → · Palette generator →

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