#D9D94E#D9D94E

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

Color values

HEX#D9D94E
RGBrgb(217, 217, 78)
HSLhsl(60, 65%, 58%)
HSVhsv(60, 64%, 85%)
CMYKcmyk(0%, 0%, 64.1%, 14.9%)
CIE-LABlab(84.45, -16.80, 65.80)
CIE-LCHlch(84.45, 67.91, 104.32°)
OKLaboklab(86.01% -0.052 0.1485)
OKLCHoklch(86.01% 0.157 109.3)
XYZxyz(54.8051, 64.9290, 16.8518)
Luminance0.6493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D94E #4E4ED9
analogous
#D9934E #D9D94E #93D94E
triadic
#D9D94E #4ED9D9 #D94ED9
tetradic
#D9D94E #4ED993 #4E4ED9 #D94E93
square
#D9D94E #4ED993 #4E4ED9 #D94E93
split-complementary
#D9D94E #4E93D9 #934ED9
monochromatic
#8E8E1F #C0C029 #D9D94E #E4E480 #EFEFB3

Accessibility & contrast

On white

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

On black

13.99
#D9D94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D94E
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D94E#FFFFFF#000000##000000
##D9D94E1.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD03B
Deuteranopia (green-blind)
#EBD557
Tritanopia (blue-blind)
#E8CCBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d9d94e;
/* rgb */ color: rgb(217, 217, 78);
/* oklch */ color: oklch(86.0% 0.157 109.3);
Tailwind
colors: {
  custom: {
    50: '#e8e486',
    500: '#d9d94e',
    950: '#000000',
  },
}
SCSS
$custom: #d9d94e;
$custom-light: #e8e486;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d94e",
  "rgb": {
    "r": 217,
    "g": 217,
    "b": 78
  },
  "hsl": {
    "h": 60,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.86014,
    "c": 0.15739,
    "h": 109.3
  },
  "luminance": 0.64927
}

Semantic roles & 50–950 ramp

primary
#D9D94E
secondary
#383894
accent
#40E840
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D94E

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

Preview Lab → · Contrast checker → · Palette generator →

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