#D1D339#D1D339

#D1D339 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 83.9% C 0.166 H 110.3°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#D1D339
RGBrgb(209, 211, 57)
HSLhsl(61, 64%, 53%)
HSVhsv(61, 73%, 83%)
CMYKcmyk(0.9%, 0%, 73%, 17.3%)
CIE-LABlab(82.08, -18.24, 70.91)
CIE-LCHlch(82.08, 73.21, 104.42°)
OKLaboklab(83.92% -0.0576 0.1561)
OKLCHoklch(83.92% 0.166 110.3)
XYZxyz(50.3291, 60.4407, 12.8851)
Luminance0.6044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D339 #3B39D3
analogous
#D38839 #D1D339 #84D339
triadic
#D1D339 #39D1D3 #D339D1
tetradic
#D1D339 #39D388 #3B39D3 #D33984
square
#D1D339 #39D388 #3B39D3 #D33984
split-complementary
#D1D339 #3984D3 #8839D3
monochromatic
#76771A #A7A926 #D1D339 #DDDE6B #E8E99D

Accessibility & contrast

On white

1.60
#D1D339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#D1D339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D339
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D339#FFFFFF#000000##000000
##D1D3391.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA18
Deuteranopia (green-blind)
#E5CE45
Tritanopia (blue-blind)
#E0C6B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d1d339;
/* rgb */ color: rgb(209, 211, 57);
/* oklch */ color: oklch(83.9% 0.166 110.3);
Tailwind
colors: {
  custom: {
    50: '#e3e07b',
    500: '#d1d339',
    950: '#000000',
  },
}
SCSS
$custom: #d1d339;
$custom-light: #e3e07b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d339",
  "rgb": {
    "r": 209,
    "g": 211,
    "b": 57
  },
  "hsl": {
    "h": 60.779,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.83923,
    "c": 0.16639,
    "h": 110.3
  },
  "luminance": 0.60439
}

Semantic roles & 50–950 ramp

primary
#D1D339
secondary
#32317F
accent
#41E743
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D1D339

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

Preview Lab → · Contrast checker → · Palette generator →

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