#D9D95E#D9D95E

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

Color values

HEX#D9D95E
RGBrgb(217, 217, 94)
HSLhsl(60, 62%, 61%)
HSVhsv(60, 57%, 85%)
CMYKcmyk(0%, 0%, 56.7%, 14.9%)
CIE-LABlab(84.58, -15.74, 59.25)
CIE-LCHlch(84.58, 61.31, 104.88°)
OKLaboklab(86.16% -0.0474 0.1369)
OKLCHoklch(86.16% 0.145 109.1)
XYZxyz(55.4501, 65.1870, 20.2489)
Luminance0.6519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D95E #5E5ED9
analogous
#D99B5E #D9D95E #9BD95E
triadic
#D9D95E #5ED9D9 #D95ED9
tetradic
#D9D95E #5ED99B #5E5ED9 #D95E9B
square
#D9D95E #5ED99B #5E5ED9 #D95E9B
split-complementary
#D9D95E #5E9BD9 #9B5ED9
monochromatic
#999924 #CACA30 #D9D95E #E5E590 #F0F0C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D95E#FFFFFF#000000##000000
##D9D95E1.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)
#E9D151
Deuteranopia (green-blind)
#EAD565
Tritanopia (blue-blind)
#E7CDBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d9d95e;
/* rgb */ color: rgb(217, 217, 94);
/* oklch */ color: oklch(86.2% 0.145 109.1);
Tailwind
colors: {
  custom: {
    50: '#e7e490',
    500: '#d9d95e',
    950: '#000000',
  },
}
SCSS
$custom: #d9d95e;
$custom-light: #e7e490;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d95e",
  "rgb": {
    "r": 217,
    "g": 217,
    "b": 94
  },
  "hsl": {
    "h": 60,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86162,
    "c": 0.14481,
    "h": 109.1
  },
  "luminance": 0.65186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9D95E

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

Preview Lab → · Contrast checker → · Palette generator →

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