#D1D94E#D1D94E

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

Color values

HEX#D1D94E
RGBrgb(209, 217, 78)
HSLhsl(63, 65%, 58%)
HSVhsv(63, 64%, 85%)
CMYKcmyk(3.7%, 0%, 64.1%, 14.9%)
CIE-LABlab(83.83, -20.08, 64.97)
CIE-LCHlch(83.83, 68.00, 107.18°)
OKLaboklab(85.37% -0.0608 0.147)
OKLCHoklch(85.37% 0.159 112.5)
XYZxyz(52.4840, 63.7322, 16.7430)
Luminance0.6373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D94E #564ED9
analogous
#D99B4E #D1D94E #8CD94E
triadic
#D1D94E #4ED1D9 #D94ED1
tetradic
#D1D94E #4ED99B #564ED9 #D94E8C
square
#D1D94E #4ED99B #564ED9 #D94E8C
split-complementary
#D1D94E #4E8CD9 #9B4ED9
monochromatic
#888E1F #B8C029 #D1D94E #DEE480 #EBEFB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1D94E#FFFFFF#000000##000000
##D1D94E1.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)
#E9CF3B
Deuteranopia (green-blind)
#E9D357
Tritanopia (blue-blind)
#DECCBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d1d94e;
/* rgb */ color: rgb(209, 217, 78);
/* oklch */ color: oklch(85.4% 0.159 112.5);
Tailwind
colors: {
  custom: {
    50: '#e2e486',
    500: '#d1d94e',
    950: '#000000',
  },
}
SCSS
$custom: #d1d94e;
$custom-light: #e2e486;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d94e",
  "rgb": {
    "r": 209,
    "g": 217,
    "b": 78
  },
  "hsl": {
    "h": 63.453,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.85365,
    "c": 0.15906,
    "h": 112.5
  },
  "luminance": 0.63731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1D94E

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

Preview Lab → · Contrast checker → · Palette generator →

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