#D9D93C#D9D93C

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

Color values

HEX#D9D93C
RGBrgb(217, 217, 60)
HSLhsl(60, 67%, 54%)
HSVhsv(60, 72%, 85%)
CMYKcmyk(0%, 0%, 72.4%, 14.9%)
CIE-LABlab(84.33, -17.72, 72.27)
CIE-LCHlch(84.33, 74.41, 103.78°)
OKLaboklab(85.89% -0.0563 0.1592)
OKLCHoklch(85.89% 0.169 109.5)
XYZxyz(54.2457, 64.7053, 13.9060)
Luminance0.6470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D93C #3C3CD9
analogous
#D98B3C #D9D93C #8BD93C
triadic
#D9D93C #3CD9D9 #D93CD9
tetradic
#D9D93C #3CD98B #3C3CD9 #D93C8B
square
#D9D93C #3CD98B #3C3CD9 #D93C8B
split-complementary
#D9D93C #3C8BD9 #8B3CD9
monochromatic
#818119 #B5B523 #D9D93C #E3E36F #EDEDA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D93C#FFFFFF#000000##000000
##D9D93C1.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)
#EAD01C
Deuteranopia (green-blind)
#ECD548
Tritanopia (blue-blind)
#E8CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d93c;
/* rgb */ color: rgb(217, 217, 60);
/* oklch */ color: oklch(85.9% 0.169 109.5);
Tailwind
colors: {
  custom: {
    50: '#e9e47d',
    500: '#d9d93c',
    950: '#000000',
  },
}
SCSS
$custom: #d9d93c;
$custom-light: #e9e47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d93c",
  "rgb": {
    "r": 217,
    "g": 217,
    "b": 60
  },
  "hsl": {
    "h": 60,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.85885,
    "c": 0.1689,
    "h": 109.5
  },
  "luminance": 0.64704
}

Semantic roles & 50–950 ramp

primary
#D9D93C
secondary
#313188
accent
#3EEA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9D93C

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

Preview Lab → · Contrast checker → · Palette generator →

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