#D9D541#D9D541

#D9D541 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.1% C 0.162 H 107.8°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#D9D541
RGBrgb(217, 213, 65)
HSLhsl(58, 67%, 55%)
HSVhsv(58, 70%, 85%)
CMYKcmyk(0%, 1.8%, 70%, 14.9%)
CIE-LABlab(83.30, -15.52, 69.55)
CIE-LCHlch(83.30, 71.26, 102.58°)
OKLaboklab(85.07% -0.0497 0.1543)
OKLCHoklch(85.07% 0.162 107.8)
XYZxyz(53.3656, 62.7236, 14.2958)
Luminance0.6272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D541 #4145D9
analogous
#D98941 #D9D541 #91D941
triadic
#D9D541 #41D9D5 #D541D9
tetradic
#D9D541 #41D989 #4145D9 #D94191
square
#D9D541 #41D989 #4145D9 #D94191
split-complementary
#D9D541 #4191D9 #8941D9
monochromatic
#85821B #B8B425 #D9D541 #E3E074 #EDECA7

Accessibility & contrast

On white

1.55
#D9D541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#D9D541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D541
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D541#FFFFFF#000000##000000
##D9D5411.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD28
Deuteranopia (green-blind)
#E9D24C
Tritanopia (blue-blind)
#E8C7B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d541;
/* rgb */ color: rgb(217, 213, 65);
/* oklch */ color: oklch(85.1% 0.162 107.8);
Tailwind
colors: {
  custom: {
    50: '#e8e17f',
    500: '#d9d541',
    950: '#000000',
  },
}
SCSS
$custom: #d9d541;
$custom-light: #e8e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d541",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 65
  },
  "hsl": {
    "h": 58.421,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.85068,
    "c": 0.16215,
    "h": 107.8
  },
  "luminance": 0.62722
}

Semantic roles & 50–950 ramp

primary
#D9D541
secondary
#33358B
accent
#43EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D541

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

Preview Lab → · Contrast checker → · Palette generator →

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