#D1D541#D1D541

#D1D541 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.4% C 0.164 H 111.0°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#D1D541
RGBrgb(209, 213, 65)
HSLhsl(62, 64%, 55%)
HSVhsv(62, 69%, 84%)
CMYKcmyk(1.9%, 0%, 69.5%, 16.5%)
CIE-LABlab(82.66, -18.84, 68.71)
CIE-LCHlch(82.66, 71.25, 105.34°)
OKLaboklab(84.41% -0.0586 0.1528)
OKLCHoklch(84.41% 0.164 111)
XYZxyz(51.0446, 61.5268, 14.1870)
Luminance0.6152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D541 #4541D5
analogous
#D58F41 #D1D541 #87D541
triadic
#D1D541 #41D1D5 #D541D1
tetradic
#D1D541 #41D58F #4541D5 #D54187
square
#D1D541 #41D58F #4541D5 #D54187
split-complementary
#D1D541 #4187D5 #8F41D5
monochromatic
#7D7F1C #AEB227 #D1D541 #DDE073 #E9EBA5

Accessibility & contrast

On white

1.58
#D1D541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#D1D541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D541
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D541#FFFFFF#000000##000000
##D1D5411.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC28
Deuteranopia (green-blind)
#E6D04C
Tritanopia (blue-blind)
#DFC8B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d1d541;
/* rgb */ color: rgb(209, 213, 65);
/* oklch */ color: oklch(84.4% 0.164 111.0);
Tailwind
colors: {
  custom: {
    50: '#e3e17f',
    500: '#d1d541',
    950: '#000000',
  },
}
SCSS
$custom: #d1d541;
$custom-light: #e3e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d541",
  "rgb": {
    "r": 209,
    "g": 213,
    "b": 65
  },
  "hsl": {
    "h": 61.622,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.84405,
    "c": 0.16368,
    "h": 111
  },
  "luminance": 0.61525
}

Semantic roles & 50–950 ramp

primary
#D1D541
secondary
#363487
accent
#41E745
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D541

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

Preview Lab → · Contrast checker → · Palette generator →

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