#D1D94C#D1D94C

#D1D94C is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.3% C 0.161 H 112.5°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#D1D94C
RGBrgb(209, 217, 76)
HSLhsl(63, 65%, 57%)
HSVhsv(63, 65%, 85%)
CMYKcmyk(3.7%, 0%, 65%, 14.9%)
CIE-LABlab(83.81, -20.20, 65.74)
CIE-LCHlch(83.81, 68.77, 107.08°)
OKLaboklab(85.35% -0.0613 0.1483)
OKLCHoklch(85.35% 0.161 112.5)
XYZxyz(52.4133, 63.7040, 16.3711)
Luminance0.6370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D94C #544CD9
analogous
#D99A4C #D1D94C #8BD94C
triadic
#D1D94C #4CD1D9 #D94CD1
tetradic
#D1D94C #4CD99A #544CD9 #D94C8B
square
#D1D94C #4CD99A #544CD9 #D94C8B
split-complementary
#D1D94C #4C8BD9 #9A4CD9
monochromatic
#868D1E #B7BF29 #D1D94C #DEE47E #EBEEB1

Accessibility & contrast

On white

1.53
#D1D94C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#D1D94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D94C
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D94C#FFFFFF#000000##000000
##D1D94C1.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF38
Deuteranopia (green-blind)
#E9D356
Tritanopia (blue-blind)
#DFCCBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d1d94c;
/* rgb */ color: rgb(209, 217, 76);
/* oklch */ color: oklch(85.3% 0.161 112.5);
Tailwind
colors: {
  custom: {
    50: '#e2e485',
    500: '#d1d94c',
    950: '#000000',
  },
}
SCSS
$custom: #d1d94c;
$custom-light: #e2e485;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d94c",
  "rgb": {
    "r": 209,
    "g": 217,
    "b": 76
  },
  "hsl": {
    "h": 63.404,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.85349,
    "c": 0.1605,
    "h": 112.5
  },
  "luminance": 0.63703
}

Semantic roles & 50–950 ramp

primary
#D1D94C
secondary
#3C3792
accent
#40E849
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D94C

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

Preview Lab → · Contrast checker → · Palette generator →

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