#D9D94D#D9D94D

#D9D94D is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.0% C 0.158 H 109.3°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#D9D94D
RGBrgb(217, 217, 77)
HSLhsl(60, 65%, 58%)
HSVhsv(60, 65%, 85%)
CMYKcmyk(0%, 0%, 64.5%, 14.9%)
CIE-LABlab(84.44, -16.86, 66.19)
CIE-LCHlch(84.44, 68.30, 104.29°)
OKLaboklab(86.01% -0.0523 0.1492)
OKLCHoklch(86.01% 0.158 109.3)
XYZxyz(54.7695, 64.9148, 16.6645)
Luminance0.6491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D94D #4D4DD9
analogous
#D9934D #D9D94D #93D94D
triadic
#D9D94D #4DD9D9 #D94DD9
tetradic
#D9D94D #4DD993 #4D4DD9 #D94D93
square
#D9D94D #4DD993 #4D4DD9 #D94D93
split-complementary
#D9D94D #4D93D9 #934DD9
monochromatic
#8D8D1E #C0C029 #D9D94D #E4E47F #EFEFB2

Accessibility & contrast

On white

1.50
#D9D94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#D9D94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D94D
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D94D#FFFFFF#000000##000000
##D9D94D1.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD03A
Deuteranopia (green-blind)
#ECD556
Tritanopia (blue-blind)
#E8CCBC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d9d94d;
/* rgb */ color: rgb(217, 217, 77);
/* oklch */ color: oklch(86.0% 0.158 109.3);
Tailwind
colors: {
  custom: {
    50: '#e8e486',
    500: '#d9d94d',
    950: '#000000',
  },
}
SCSS
$custom: #d9d94d;
$custom-light: #e8e486;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d94d",
  "rgb": {
    "r": 217,
    "g": 217,
    "b": 77
  },
  "hsl": {
    "h": 60,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.86005,
    "c": 0.1581,
    "h": 109.3
  },
  "luminance": 0.64913
}

Semantic roles & 50–950 ramp

primary
#D9D94D
secondary
#373793
accent
#40E840
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D94D

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

Preview Lab → · Contrast checker → · Palette generator →

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