#D1D94F#D1D94F

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

Color values

HEX#D1D94F
RGBrgb(209, 217, 79)
HSLhsl(63, 64%, 58%)
HSVhsv(63, 64%, 85%)
CMYKcmyk(3.7%, 0%, 63.6%, 14.9%)
CIE-LABlab(83.83, -20.02, 64.57)
CIE-LCHlch(83.83, 67.61, 107.23°)
OKLaboklab(85.37% -0.0605 0.1463)
OKLCHoklch(85.37% 0.158 112.5)
XYZxyz(52.5201, 63.7467, 16.9333)
Luminance0.6375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D94F #574FD9
analogous
#D99C4F #D1D94F #8CD94F
triadic
#D1D94F #4FD1D9 #D94FD1
tetradic
#D1D94F #4FD99C #574FD9 #D94F8C
square
#D1D94F #4FD99C #574FD9 #D94F8C
split-complementary
#D1D94F #4F8CD9 #9C4FD9
monochromatic
#888F1F #B8C12A #D1D94F #DEE481 #EBEFB4

Accessibility & contrast

On white

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

On black

13.75
#D1D94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D94F
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D94F#FFFFFF#000000##000000
##D1D94F1.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF3D
Deuteranopia (green-blind)
#E9D358
Tritanopia (blue-blind)
#DECDBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d1d94f;
/* rgb */ color: rgb(209, 217, 79);
/* oklch */ color: oklch(85.4% 0.158 112.5);
Tailwind
colors: {
  custom: {
    50: '#e2e487',
    500: '#d1d94f',
    950: '#000000',
  },
}
SCSS
$custom: #d1d94f;
$custom-light: #e2e487;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d94f",
  "rgb": {
    "r": 209,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 63.478,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85374,
    "c": 0.15833,
    "h": 112.5
  },
  "luminance": 0.63746
}

Semantic roles & 50–950 ramp

primary
#D1D94F
secondary
#3D3894
accent
#40E74A
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D94F

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

Preview Lab → · Contrast checker → · Palette generator →

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