#D9D75E#D9D75E

#D9D75E is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.7% C 0.143 H 108.2°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#D9D75E
RGBrgb(217, 215, 94)
HSLhsl(59, 62%, 61%)
HSVhsv(59, 57%, 85%)
CMYKcmyk(0%, 0.9%, 56.7%, 14.9%)
CIE-LABlab(84.05, -14.75, 58.66)
CIE-LCHlch(84.05, 60.49, 104.12°)
OKLaboklab(85.74% -0.0445 0.1356)
OKLCHoklch(85.74% 0.143 108.2)
XYZxyz(54.9377, 64.1623, 20.0781)
Luminance0.6416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D75E #5E60D9
analogous
#D9995E #D9D75E #9DD95E
triadic
#D9D75E #5ED9D7 #D75ED9
tetradic
#D9D75E #5ED999 #5E60D9 #D95E9D
square
#D9D75E #5ED999 #5E60D9 #D95E9D
split-complementary
#D9D75E #5E9DD9 #995ED9
monochromatic
#999724 #CAC830 #D9D75E #E5E390 #F0F0C1

Accessibility & contrast

On white

1.52
#D9D75E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#D9D75E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D75E
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D75E#FFFFFF#000000##000000
##D9D75E1.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF51
Deuteranopia (green-blind)
#E9D465
Tritanopia (blue-blind)
#E7CBBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d75e;
/* rgb */ color: rgb(217, 215, 94);
/* oklch */ color: oklch(85.7% 0.143 108.2);
Tailwind
colors: {
  custom: {
    50: '#e7e390',
    500: '#d9d75e',
    950: '#000000',
  },
}
SCSS
$custom: #d9d75e;
$custom-light: #e7e390;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d75e",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 94
  },
  "hsl": {
    "h": 59.024,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8574,
    "c": 0.14271,
    "h": 108.2
  },
  "luminance": 0.64161
}

Semantic roles & 50–950 ramp

primary
#D9D75E
secondary
#3E409D
accent
#1FCA1C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D75E

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

Preview Lab → · Contrast checker → · Palette generator →

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