#D9C341#D9C341

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

Color values

HEX#D9C341
RGBrgb(217, 195, 65)
HSLhsl(51, 67%, 55%)
HSVhsv(51, 70%, 85%)
CMYKcmyk(0%, 10.1%, 70%, 14.9%)
CIE-LABlab(78.56, -6.42, 64.88)
CIE-LCHlch(78.56, 65.20, 95.65°)
OKLaboklab(81.3% -0.024 0.1445)
OKLCHoklch(81.3% 0.146 99.4)
XYZxyz(49.0868, 54.1659, 12.8695)
Luminance0.5416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C341 #4157D9
analogous
#D97741 #D9C341 #A3D941
triadic
#D9C341 #41D9C3 #C341D9
tetradic
#D9C341 #41D977 #4157D9 #D941A3
square
#D9C341 #41D977 #4157D9 #D941A3
split-complementary
#D9C341 #41A3D9 #7741D9
monochromatic
#85761B #B8A325 #D9C341 #E3D374 #EDE3A7

Accessibility & contrast

On white

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

On black

11.83
#D9C341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C341
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C341#FFFFFF#000000##000000
##D9C3411.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9c341;
/* rgb */ color: rgb(217, 195, 65);
/* oklch */ color: oklch(81.3% 0.146 99.4);
Tailwind
colors: {
  custom: {
    50: '#e9d47d',
    500: '#d9c341',
    950: '#000000',
  },
}
SCSS
$custom: #d9c341;
$custom-light: #e9d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c341",
  "rgb": {
    "r": 217,
    "g": 195,
    "b": 65
  },
  "hsl": {
    "h": 51.316,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81299,
    "c": 0.14646,
    "h": 99.4
  },
  "luminance": 0.54164
}

Semantic roles & 50–950 ramp

primary
#D9C341
secondary
#33408B
accent
#57EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C341

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

Preview Lab → · Contrast checker → · Palette generator →

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