#D1D239#D1D239

#D1D239 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.7% C 0.165 H 109.9°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#D1D239
RGBrgb(209, 210, 57)
HSLhsl(60, 63%, 52%)
HSVhsv(60, 73%, 82%)
CMYKcmyk(0.5%, 0%, 72.9%, 17.6%)
CIE-LABlab(81.81, -17.74, 70.65)
CIE-LCHlch(81.81, 72.85, 104.10°)
OKLaboklab(83.71% -0.0562 0.1556)
OKLCHoklch(83.71% 0.165 109.9)
XYZxyz(50.0814, 59.9454, 12.8026)
Luminance0.5994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D239 #3A39D2
analogous
#D28639 #D1D239 #85D239
triadic
#D1D239 #39D1D2 #D239D1
tetradic
#D1D239 #39D286 #3A39D2 #D23985
square
#D1D239 #39D286 #3A39D2 #D23985
split-complementary
#D1D239 #3985D2 #8639D2
monochromatic
#75761B #A7A826 #D1D239 #DDDD6B #E8E99D

Accessibility & contrast

On white

1.62
#D1D239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#D1D239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D239
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D239#FFFFFF#000000##000000
##D1D2391.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C919
Deuteranopia (green-blind)
#E4CE45
Tritanopia (blue-blind)
#E0C5B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d1d239;
/* rgb */ color: rgb(209, 210, 57);
/* oklch */ color: oklch(83.7% 0.165 109.9);
Tailwind
colors: {
  custom: {
    50: '#e3df7a',
    500: '#d1d239',
    950: '#000000',
  },
}
SCSS
$custom: #d1d239;
$custom-light: #e3df7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d239",
  "rgb": {
    "r": 209,
    "g": 210,
    "b": 57
  },
  "hsl": {
    "h": 60.392,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.83709,
    "c": 0.16541,
    "h": 109.9
  },
  "luminance": 0.59944
}

Semantic roles & 50–950 ramp

primary
#D1D239
secondary
#31317E
accent
#42E643
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D1D239

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

Preview Lab → · Contrast checker → · Palette generator →

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