#D1D05E#D1D05E

#D1D05E is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.6% C 0.136 H 108.6°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#D1D05E
RGBrgb(209, 208, 94)
HSLhsl(59, 56%, 59%)
HSVhsv(59, 55%, 82%)
CMYKcmyk(0%, 0.5%, 55%, 18%)
CIE-LABlab(81.55, -14.53, 55.68)
CIE-LCHlch(81.55, 57.54, 104.62°)
OKLaboklab(83.59% -0.0434 0.1294)
OKLCHoklch(83.59% 0.136 108.6)
XYZxyz(50.8721, 59.4766, 19.3878)
Luminance0.5948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D05E #5E5FD1
analogous
#D1975E #D1D05E #99D15E
triadic
#D1D05E #5ED1D0 #D05ED1
tetradic
#D1D05E #5ED197 #5E5FD1 #D15E99
square
#D1D05E #5ED197 #5E5FD1 #D15E99
split-complementary
#D1D05E #5E99D1 #975ED1
monochromatic
#8C8C28 #BCBB36 #D1D05E #DFDE8E #ECECBD

Accessibility & contrast

On white

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

On black

12.90
#D1D05E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D05E
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D05E#FFFFFF#000000##000000
##D1D05E1.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC852
Deuteranopia (green-blind)
#E1CD64
Tritanopia (blue-blind)
#DEC4B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d1d05e;
/* rgb */ color: rgb(209, 208, 94);
/* oklch */ color: oklch(83.6% 0.136 108.6);
Tailwind
colors: {
  custom: {
    50: '#e1de8f',
    500: '#d1d05e',
    950: '#000000',
  },
}
SCSS
$custom: #d1d05e;
$custom-light: #e1de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d05e",
  "rgb": {
    "r": 209,
    "g": 208,
    "b": 94
  },
  "hsl": {
    "h": 59.478,
    "s": 55.556,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83594,
    "c": 0.13645,
    "h": 108.6
  },
  "luminance": 0.59475
}

Semantic roles & 50–950 ramp

primary
#D1D05E
secondary
#414193
accent
#4ADF49
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D1D05E

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

Preview Lab → · Contrast checker → · Palette generator →

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