#D1D04F#D1D04F

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

Color values

HEX#D1D04F
RGBrgb(209, 208, 79)
HSLhsl(60, 59%, 56%)
HSVhsv(60, 62%, 82%)
CMYKcmyk(0%, 0.5%, 62.2%, 18%)
CIE-LABlab(81.42, -15.58, 62.03)
CIE-LCHlch(81.42, 63.95, 104.10°)
OKLaboklab(83.45% -0.048 0.1409)
OKLCHoklch(83.45% 0.149 108.8)
XYZxyz(50.2633, 59.2330, 16.1810)
Luminance0.5923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D04F #4F50D1
analogous
#D18F4F #D1D04F #91D14F
triadic
#D1D04F #4FD1D0 #D04FD1
tetradic
#D1D04F #4FD18F #4F50D1 #D14F91
square
#D1D04F #4FD18F #4F50D1 #D14F91
split-complementary
#D1D04F #4F91D1 #8F4FD1
monochromatic
#838322 #B4B32F #D1D04F #DEDD80 #EAEAB0

Accessibility & contrast

On white

1.63
#D1D04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#D1D04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D04F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D04F#FFFFFF#000000##000000
##D1D04F1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1d04f;
/* rgb */ color: rgb(209, 208, 79);
/* oklch */ color: oklch(83.4% 0.149 108.8);
Tailwind
colors: {
  custom: {
    50: '#e2de86',
    500: '#d1d04f',
    950: '#000000',
  },
}
SCSS
$custom: #d1d04f;
$custom-light: #e2de86;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d04f",
  "rgb": {
    "r": 209,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 59.538,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83445,
    "c": 0.14888,
    "h": 108.8
  },
  "luminance": 0.59232
}

Semantic roles & 50–950 ramp

primary
#D1D04F
secondary
#3A3B8A
accent
#47E246
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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