#D9D93F#D9D93F

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

Color values

HEX#D9D93F
RGBrgb(217, 217, 63)
HSLhsl(60, 67%, 55%)
HSVhsv(60, 71%, 85%)
CMYKcmyk(0%, 0%, 71%, 14.9%)
CIE-LABlab(84.35, -17.59, 71.27)
CIE-LCHlch(84.35, 73.41, 103.86°)
OKLaboklab(85.9% -0.0557 0.1576)
OKLCHoklch(85.9% 0.167 109.5)
XYZxyz(54.3273, 64.7379, 14.3356)
Luminance0.6474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D93F #3F3FD9
analogous
#D98C3F #D9D93F #8CD93F
triadic
#D9D93F #3FD9D9 #D93FD9
tetradic
#D9D93F #3FD98C #3F3FD9 #D93F8C
square
#D9D93F #3FD98C #3F3FD9 #D93F8C
split-complementary
#D9D93F #3F8CD9 #8C3FD9
monochromatic
#84841A #B7B724 #D9D93F #E3E372 #EDEDA5

Accessibility & contrast

On white

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

On black

13.95
#D9D93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D93F
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D93F#FFFFFF#000000##000000
##D9D93F1.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9d93f;
/* rgb */ color: rgb(217, 217, 63);
/* oklch */ color: oklch(85.9% 0.167 109.5);
Tailwind
colors: {
  custom: {
    50: '#e8e47e',
    500: '#d9d93f',
    950: '#000000',
  },
}
SCSS
$custom: #d9d93f;
$custom-light: #e8e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d93f",
  "rgb": {
    "r": 217,
    "g": 217,
    "b": 63
  },
  "hsl": {
    "h": 60,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.85903,
    "c": 0.16719,
    "h": 109.5
  },
  "luminance": 0.64736
}

Semantic roles & 50–950 ramp

primary
#D9D93F
secondary
#32328A
accent
#3EEA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D93F

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

Preview Lab → · Contrast checker → · Palette generator →

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