#D9D241#D9D241

#D9D241 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.4% C 0.159 H 106.6°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#D9D241
RGBrgb(217, 210, 65)
HSLhsl(57, 67%, 55%)
HSVhsv(57, 70%, 85%)
CMYKcmyk(0%, 3.2%, 70%, 14.9%)
CIE-LABlab(82.50, -14.02, 68.77)
CIE-LCHlch(82.50, 70.19, 101.52°)
OKLaboklab(84.43% -0.0455 0.1527)
OKLCHoklch(84.43% 0.159 106.6)
XYZxyz(52.6180, 61.2284, 14.0466)
Luminance0.6123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D241 #4148D9
analogous
#D98641 #D9D241 #94D941
triadic
#D9D241 #41D9D2 #D241D9
tetradic
#D9D241 #41D986 #4148D9 #D94194
square
#D9D241 #41D986 #4148D9 #D94194
split-complementary
#D9D241 #4194D9 #8641D9
monochromatic
#85801B #B8B125 #D9D241 #E3DE74 #EDEAA7

Accessibility & contrast

On white

1.59
#D9D241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#D9D241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D241
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D241#FFFFFF#000000##000000
##D9D2411.001.5913.2513.25
#FFFFFF1.591.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA29
Deuteranopia (green-blind)
#E7D04B
Tritanopia (blue-blind)
#E9C4B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d9d241;
/* rgb */ color: rgb(217, 210, 65);
/* oklch */ color: oklch(84.4% 0.159 106.6);
Tailwind
colors: {
  custom: {
    50: '#e8df7f',
    500: '#d9d241',
    950: '#000000',
  },
}
SCSS
$custom: #d9d241;
$custom-light: #e8df7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d241",
  "rgb": {
    "r": 217,
    "g": 210,
    "b": 65
  },
  "hsl": {
    "h": 57.237,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.84433,
    "c": 0.15934,
    "h": 106.6
  },
  "luminance": 0.61227
}

Semantic roles & 50–950 ramp

primary
#D9D241
secondary
#33378B
accent
#46EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D241

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

Preview Lab → · Contrast checker → · Palette generator →

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