#D1D04D#D1D04D

#D1D04D is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.4% C 0.150 H 108.8°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#D1D04D
RGBrgb(209, 208, 77)
HSLhsl(60, 59%, 56%)
HSVhsv(60, 63%, 82%)
CMYKcmyk(0%, 0.5%, 63.2%, 18%)
CIE-LABlab(81.40, -15.70, 62.83)
CIE-LCHlch(81.40, 64.76, 104.03°)
OKLaboklab(83.43% -0.0486 0.1423)
OKLCHoklch(83.43% 0.15 108.8)
XYZxyz(50.1915, 59.2043, 15.8034)
Luminance0.5920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D04D #4D4ED1
analogous
#D18E4D #D1D04D #90D14D
triadic
#D1D04D #4DD1D0 #D04DD1
tetradic
#D1D04D #4DD18E #4D4ED1 #D14D90
square
#D1D04D #4DD18E #4D4ED1 #D14D90
split-complementary
#D1D04D #4D90D1 #8E4DD1
monochromatic
#828122 #B3B22E #D1D04D #DEDD7E #EAEAAE

Accessibility & contrast

On white

1.64
#D1D04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#D1D04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D04D
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D04D#FFFFFF#000000##000000
##D1D04D1.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83C
Deuteranopia (green-blind)
#E2CC55
Tritanopia (blue-blind)
#DFC3B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d1d04d;
/* rgb */ color: rgb(209, 208, 77);
/* oklch */ color: oklch(83.4% 0.150 108.8);
Tailwind
colors: {
  custom: {
    50: '#e2de85',
    500: '#d1d04d',
    950: '#000000',
  },
}
SCSS
$custom: #d1d04d;
$custom-light: #e2de85;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d04d",
  "rgb": {
    "r": 209,
    "g": 208,
    "b": 77
  },
  "hsl": {
    "h": 59.545,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.83428,
    "c": 0.1504,
    "h": 108.8
  },
  "luminance": 0.59203
}

Semantic roles & 50–950 ramp

primary
#D1D04D
secondary
#393A89
accent
#47E246
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D04D

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

Preview Lab → · Contrast checker → · Palette generator →

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