#D9D95F#D9D95F

#D9D95F is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.2% C 0.144 H 109.1°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#D9D95F
RGBrgb(217, 217, 95)
HSLhsl(60, 62%, 61%)
HSVhsv(60, 56%, 85%)
CMYKcmyk(0%, 0%, 56.2%, 14.9%)
CIE-LABlab(84.59, -15.67, 58.83)
CIE-LCHlch(84.59, 60.88, 104.92°)
OKLaboklab(86.17% -0.047 0.1361)
OKLCHoklch(86.17% 0.144 109.1)
XYZxyz(55.4952, 65.2051, 20.4868)
Luminance0.6520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D95F #5F5FD9
analogous
#D99C5F #D9D95F #9CD95F
triadic
#D9D95F #5FD9D9 #D95FD9
tetradic
#D9D95F #5FD99C #5F5FD9 #D95F9C
square
#D9D95F #5FD99C #5F5FD9 #D95F9C
split-complementary
#D9D95F #5F9CD9 #9C5FD9
monochromatic
#999924 #CBCB30 #D9D95F #E5E590 #F0F0C2

Accessibility & contrast

On white

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

On black

14.04
#D9D95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D95F
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D95F#FFFFFF#000000##000000
##D9D95F1.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D152
Deuteranopia (green-blind)
#EAD566
Tritanopia (blue-blind)
#E7CDBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d9d95f;
/* rgb */ color: rgb(217, 217, 95);
/* oklch */ color: oklch(86.2% 0.144 109.1);
Tailwind
colors: {
  custom: {
    50: '#e7e491',
    500: '#d9d95f',
    950: '#000000',
  },
}
SCSS
$custom: #d9d95f;
$custom-light: #e7e491;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d95f",
  "rgb": {
    "r": 217,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 60,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.86173,
    "c": 0.14396,
    "h": 109.1
  },
  "luminance": 0.65204
}

Semantic roles & 50–950 ramp

primary
#D9D95F
secondary
#3F3F9E
accent
#1CC91C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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