#D9D93D#D9D93D

#D9D93D is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 85.9% C 0.168 H 109.5°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#D9D93D
RGBrgb(217, 217, 61)
HSLhsl(60, 67%, 55%)
HSVhsv(60, 72%, 85%)
CMYKcmyk(0%, 0%, 71.9%, 14.9%)
CIE-LABlab(84.34, -17.68, 71.94)
CIE-LCHlch(84.34, 74.08, 103.81°)
OKLaboklab(85.89% -0.0561 0.1587)
OKLCHoklch(85.89% 0.168 109.5)
XYZxyz(54.2724, 64.7160, 14.0465)
Luminance0.6471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D93D #3D3DD9
analogous
#D98B3D #D9D93D #8BD93D
triadic
#D9D93D #3DD9D9 #D93DD9
tetradic
#D9D93D #3DD98B #3D3DD9 #D93D8B
square
#D9D93D #3DD98B #3D3DD9 #D93D8B
split-complementary
#D9D93D #3D8BD9 #8B3DD9
monochromatic
#828219 #B5B524 #D9D93D #E3E370 #EDEDA3

Accessibility & contrast

On white

1.51
#D9D93D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.94
#D9D93D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D93D
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D93D#FFFFFF#000000##000000
##D9D93D1.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD01E
Deuteranopia (green-blind)
#ECD549
Tritanopia (blue-blind)
#E8CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d93d;
/* rgb */ color: rgb(217, 217, 61);
/* oklch */ color: oklch(85.9% 0.168 109.5);
Tailwind
colors: {
  custom: {
    50: '#e9e47d',
    500: '#d9d93d',
    950: '#000000',
  },
}
SCSS
$custom: #d9d93d;
$custom-light: #e9e47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d93d",
  "rgb": {
    "r": 217,
    "g": 217,
    "b": 61
  },
  "hsl": {
    "h": 60,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.85891,
    "c": 0.16833,
    "h": 109.5
  },
  "luminance": 0.64714
}

Semantic roles & 50–950 ramp

primary
#D9D93D
secondary
#313189
accent
#3EEA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D93D

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

Preview Lab → · Contrast checker → · Palette generator →

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