#D9D341#D9D341

#D9D341 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.6% C 0.160 H 107.0°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#D9D341
RGBrgb(217, 211, 65)
HSLhsl(58, 67%, 55%)
HSVhsv(58, 70%, 85%)
CMYKcmyk(0%, 2.8%, 70%, 14.9%)
CIE-LABlab(82.77, -14.52, 69.03)
CIE-LCHlch(82.77, 70.54, 101.88°)
OKLaboklab(84.65% -0.0469 0.1533)
OKLCHoklch(84.65% 0.16 107)
XYZxyz(52.8657, 61.7237, 14.1291)
Luminance0.6172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D341 #4147D9
analogous
#D98741 #D9D341 #93D941
triadic
#D9D341 #41D9D3 #D341D9
tetradic
#D9D341 #41D987 #4147D9 #D94193
square
#D9D341 #41D987 #4147D9 #D94193
split-complementary
#D9D341 #4193D9 #8741D9
monochromatic
#85811B #B8B225 #D9D341 #E3DF74 #EDEBA7

Accessibility & contrast

On white

1.57
#D9D341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#D9D341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D341
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D341#FFFFFF#000000##000000
##D9D3411.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB28
Deuteranopia (green-blind)
#E8D14B
Tritanopia (blue-blind)
#E9C5B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d9d341;
/* rgb */ color: rgb(217, 211, 65);
/* oklch */ color: oklch(84.6% 0.160 107.0);
Tailwind
colors: {
  custom: {
    50: '#e8e07f',
    500: '#d9d341',
    950: '#000000',
  },
}
SCSS
$custom: #d9d341;
$custom-light: #e8e07f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d341",
  "rgb": {
    "r": 217,
    "g": 211,
    "b": 65
  },
  "hsl": {
    "h": 57.632,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.84645,
    "c": 0.16027,
    "h": 107
  },
  "luminance": 0.61722
}

Semantic roles & 50–950 ramp

primary
#D9D341
secondary
#33368B
accent
#45EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D341

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

Preview Lab → · Contrast checker → · Palette generator →

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