#D9D94C#D9D94C

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

Color values

HEX#D9D94C
RGBrgb(217, 217, 76)
HSLhsl(60, 65%, 57%)
HSVhsv(60, 65%, 85%)
CMYKcmyk(0%, 0%, 65%, 14.9%)
CIE-LABlab(84.43, -16.91, 66.58)
CIE-LCHlch(84.43, 68.69, 104.26°)
OKLaboklab(86% -0.0525 0.1499)
OKLCHoklch(86% 0.159 109.3)
XYZxyz(54.7344, 64.9008, 16.4799)
Luminance0.6490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D94C #4C4CD9
analogous
#D9934C #D9D94C #93D94C
triadic
#D9D94C #4CD9D9 #D94CD9
tetradic
#D9D94C #4CD993 #4C4CD9 #D94C93
square
#D9D94C #4CD993 #4C4CD9 #D94C93
split-complementary
#D9D94C #4C93D9 #934CD9
monochromatic
#8D8D1E #BFBF29 #D9D94C #E4E47E #EEEEB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D94C#FFFFFF#000000##000000
##D9D94C1.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)
#EAD038
Deuteranopia (green-blind)
#ECD555
Tritanopia (blue-blind)
#E8CCBC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d9d94c;
/* rgb */ color: rgb(217, 217, 76);
/* oklch */ color: oklch(86.0% 0.159 109.3);
Tailwind
colors: {
  custom: {
    50: '#e8e485',
    500: '#d9d94c',
    950: '#000000',
  },
}
SCSS
$custom: #d9d94c;
$custom-light: #e8e485;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d94c",
  "rgb": {
    "r": 217,
    "g": 217,
    "b": 76
  },
  "hsl": {
    "h": 60,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.85997,
    "c": 0.15882,
    "h": 109.3
  },
  "luminance": 0.64899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9D94C

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

Preview Lab → · Contrast checker → · Palette generator →

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