#D9D95D#D9D95D

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

Color values

HEX#D9D95D
RGBrgb(217, 217, 93)
HSLhsl(60, 62%, 61%)
HSVhsv(60, 57%, 85%)
CMYKcmyk(0%, 0%, 57.1%, 14.9%)
CIE-LABlab(84.57, -15.82, 59.68)
CIE-LCHlch(84.57, 61.74, 104.84°)
OKLaboklab(86.15% -0.0477 0.1376)
OKLCHoklch(86.15% 0.146 109.1)
XYZxyz(55.4055, 65.1692, 20.0141)
Luminance0.6517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D95D #5D5DD9
analogous
#D99B5D #D9D95D #9BD95D
triadic
#D9D95D #5DD9D9 #D95DD9
tetradic
#D9D95D #5DD99B #5D5DD9 #D95D9B
square
#D9D95D #5DD99B #5D5DD9 #D95D9B
split-complementary
#D9D95D #5D9BD9 #9B5DD9
monochromatic
#989824 #CACA2F #D9D95D #E5E58F #F0F0C0

Accessibility & contrast

On white

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

On black

14.03
#D9D95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D95D
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D95D#FFFFFF#000000##000000
##D9D95D1.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9d95d;
/* rgb */ color: rgb(217, 217, 93);
/* oklch */ color: oklch(86.2% 0.146 109.1);
Tailwind
colors: {
  custom: {
    50: '#e7e48f',
    500: '#d9d95d',
    950: '#000000',
  },
}
SCSS
$custom: #d9d95d;
$custom-light: #e7e48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d95d",
  "rgb": {
    "r": 217,
    "g": 217,
    "b": 93
  },
  "hsl": {
    "h": 60,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86152,
    "c": 0.14566,
    "h": 109.1
  },
  "luminance": 0.65168
}

Semantic roles & 50–950 ramp

primary
#D9D95D
secondary
#3E3E9C
accent
#1CCA1C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D95D

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

Preview Lab → · Contrast checker → · Palette generator →

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