#D9C741#D9C741

#D9C741 is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.1% C 0.150 H 101.5°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#D9C741
RGBrgb(217, 199, 65)
HSLhsl(53, 67%, 55%)
HSVhsv(53, 70%, 85%)
CMYKcmyk(0%, 8.3%, 70%, 14.9%)
CIE-LABlab(79.60, -8.47, 65.92)
CIE-LCHlch(79.60, 66.46, 97.32°)
OKLaboklab(82.13% -0.0298 0.1467)
OKLCHoklch(82.13% 0.15 101.5)
XYZxyz(49.9950, 55.9824, 13.1722)
Luminance0.5598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C741 #4153D9
analogous
#D97B41 #D9C741 #9FD941
triadic
#D9C741 #41D9C7 #C741D9
tetradic
#D9C741 #41D97B #4153D9 #D9419F
square
#D9C741 #41D97B #4153D9 #D9419F
split-complementary
#D9C741 #419FD9 #7B41D9
monochromatic
#85781B #B8A725 #D9C741 #E3D674 #EDE5A7

Accessibility & contrast

On white

1.72
#D9C741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#D9C741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C741
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C741#FFFFFF#000000##000000
##D9C7411.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12C
Deuteranopia (green-blind)
#DFC949
Tritanopia (blue-blind)
#E9B9AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d9c741;
/* rgb */ color: rgb(217, 199, 65);
/* oklch */ color: oklch(82.1% 0.150 101.5);
Tailwind
colors: {
  custom: {
    50: '#e8d77e',
    500: '#d9c741',
    950: '#000000',
  },
}
SCSS
$custom: #d9c741;
$custom-light: #e8d77e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c741",
  "rgb": {
    "r": 217,
    "g": 199,
    "b": 65
  },
  "hsl": {
    "h": 52.895,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82128,
    "c": 0.14968,
    "h": 101.5
  },
  "luminance": 0.5598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9C741

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

Preview Lab → · Contrast checker → · Palette generator →

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