#D9D34E#D9D34E

#D9D34E is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.7% C 0.151 H 106.7°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#D9D34E
RGBrgb(217, 211, 78)
HSLhsl(57, 65%, 58%)
HSVhsv(57, 64%, 85%)
CMYKcmyk(0%, 2.8%, 64.1%, 14.9%)
CIE-LABlab(82.86, -13.82, 64.15)
CIE-LCHlch(82.86, 65.62, 102.16°)
OKLaboklab(84.75% -0.0436 0.1451)
OKLCHoklch(84.75% 0.151 106.7)
XYZxyz(53.2866, 61.8921, 16.3457)
Luminance0.6189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D34E #4E54D9
analogous
#D98D4E #D9D34E #99D94E
triadic
#D9D34E #4ED9D3 #D34ED9
tetradic
#D9D34E #4ED98D #4E54D9 #D94E99
square
#D9D34E #4ED98D #4E54D9 #D94E99
split-complementary
#D9D34E #4E99D9 #8D4ED9
monochromatic
#8E891F #C0BA29 #D9D34E #E4E080 #EFECB3

Accessibility & contrast

On white

1.57
#D9D34E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#D9D34E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D34E
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D34E#FFFFFF#000000##000000
##D9D34E1.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB3D
Deuteranopia (green-blind)
#E7D156
Tritanopia (blue-blind)
#E8C6B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d9d34e;
/* rgb */ color: rgb(217, 211, 78);
/* oklch */ color: oklch(84.7% 0.151 106.7);
Tailwind
colors: {
  custom: {
    50: '#e8e086',
    500: '#d9d34e',
    950: '#000000',
  },
}
SCSS
$custom: #d9d34e;
$custom-light: #e8e086;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d34e",
  "rgb": {
    "r": 217,
    "g": 211,
    "b": 78
  },
  "hsl": {
    "h": 57.41,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84745,
    "c": 0.15146,
    "h": 106.7
  },
  "luminance": 0.6189
}

Semantic roles & 50–950 ramp

primary
#D9D34E
secondary
#383C94
accent
#47E840
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D34E

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

Preview Lab → · Contrast checker → · Palette generator →

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