#D1D04E#D1D04E

#D1D04E 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#D1D04E
RGBrgb(209, 208, 78)
HSLhsl(60, 59%, 56%)
HSVhsv(60, 63%, 82%)
CMYKcmyk(0%, 0.5%, 62.7%, 18%)
CIE-LABlab(81.41, -15.64, 62.43)
CIE-LCHlch(81.41, 64.36, 104.06°)
OKLaboklab(83.44% -0.0483 0.1416)
OKLCHoklch(83.44% 0.15 108.8)
XYZxyz(50.2271, 59.2186, 15.9908)
Luminance0.5922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D04E #4E4FD1
analogous
#D18F4E #D1D04E #91D14E
triadic
#D1D04E #4ED1D0 #D04ED1
tetradic
#D1D04E #4ED18F #4E4FD1 #D14E91
square
#D1D04E #4ED18F #4E4FD1 #D14E91
split-complementary
#D1D04E #4E91D1 #8F4ED1
monochromatic
#838222 #B3B22F #D1D04E #DEDD7F #EAEAAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1D04E#FFFFFF#000000##000000
##D1D04E1.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)
#E0C83D
Deuteranopia (green-blind)
#E2CC56
Tritanopia (blue-blind)
#DFC3B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d1d04e;
/* rgb */ color: rgb(209, 208, 78);
/* oklch */ color: oklch(83.4% 0.150 108.8);
Tailwind
colors: {
  custom: {
    50: '#e2de86',
    500: '#d1d04e',
    950: '#000000',
  },
}
SCSS
$custom: #d1d04e;
$custom-light: #e2de86;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d04e",
  "rgb": {
    "r": 209,
    "g": 208,
    "b": 78
  },
  "hsl": {
    "h": 59.542,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83436,
    "c": 0.14965,
    "h": 108.8
  },
  "luminance": 0.59217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1D04E

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

Preview Lab → · Contrast checker → · Palette generator →

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