#D9C941#D9C941

#D9C941 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.151 H 102.5°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#D9C941
RGBrgb(217, 201, 65)
HSLhsl(54, 67%, 55%)
HSVhsv(54, 70%, 85%)
CMYKcmyk(0%, 7.4%, 70%, 14.9%)
CIE-LABlab(80.13, -9.49, 66.44)
CIE-LCHlch(80.13, 67.11, 98.13°)
OKLaboklab(82.55% -0.0327 0.1478)
OKLCHoklch(82.55% 0.151 102.5)
XYZxyz(50.4582, 56.9088, 13.3266)
Luminance0.5691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C941 #4151D9
analogous
#D97D41 #D9C941 #9DD941
triadic
#D9C941 #41D9C9 #C941D9
tetradic
#D9C941 #41D97D #4151D9 #D9419D
square
#D9C941 #41D97D #4151D9 #D9419D
split-complementary
#D9C941 #419DD9 #7D41D9
monochromatic
#857A1B #B8A925 #D9C941 #E3D774 #EDE6A7

Accessibility & contrast

On white

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

On black

12.38
#D9C941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C941
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C941#FFFFFF#000000##000000
##D9C9411.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9c941;
/* rgb */ color: rgb(217, 201, 65);
/* oklch */ color: oklch(82.5% 0.151 102.5);
Tailwind
colors: {
  custom: {
    50: '#e8d97e',
    500: '#d9c941',
    950: '#000000',
  },
}
SCSS
$custom: #d9c941;
$custom-light: #e8d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c941",
  "rgb": {
    "r": 217,
    "g": 201,
    "b": 65
  },
  "hsl": {
    "h": 53.684,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82545,
    "c": 0.15135,
    "h": 102.5
  },
  "luminance": 0.56907
}

Semantic roles & 50–950 ramp

primary
#D9C941
secondary
#333C8B
accent
#50EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C941

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

Preview Lab → · Contrast checker → · Palette generator →

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