#D9D53F#D9D53F

#D9D53F is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.1% C 0.163 H 107.9°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#D9D53F
RGBrgb(217, 213, 63)
HSLhsl(58, 67%, 55%)
HSVhsv(58, 71%, 85%)
CMYKcmyk(0%, 1.8%, 71%, 14.9%)
CIE-LABlab(83.28, -15.61, 70.24)
CIE-LCHlch(83.28, 71.96, 102.53°)
OKLaboklab(85.05% -0.0501 0.1555)
OKLCHoklch(85.05% 0.163 107.9)
XYZxyz(53.3087, 62.7008, 13.9960)
Luminance0.6270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D53F #3F43D9
analogous
#D9883F #D9D53F #90D93F
triadic
#D9D53F #3FD9D5 #D53FD9
tetradic
#D9D53F #3FD988 #3F43D9 #D93F90
square
#D9D53F #3FD988 #3F43D9 #D93F90
split-complementary
#D9D53F #3F90D9 #883FD9
monochromatic
#84811A #B7B324 #D9D53F #E3E072 #EDEBA5

Accessibility & contrast

On white

1.55
#D9D53F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#D9D53F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D53F
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D53F#FFFFFF#000000##000000
##D9D53F1.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD24
Deuteranopia (green-blind)
#E9D24A
Tritanopia (blue-blind)
#E9C7B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d53f;
/* rgb */ color: rgb(217, 213, 63);
/* oklch */ color: oklch(85.1% 0.163 107.9);
Tailwind
colors: {
  custom: {
    50: '#e8e17e',
    500: '#d9d53f',
    950: '#000000',
  },
}
SCSS
$custom: #d9d53f;
$custom-light: #e8e17e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d53f",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 63
  },
  "hsl": {
    "h": 58.442,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.85054,
    "c": 0.16336,
    "h": 107.9
  },
  "luminance": 0.62699
}

Semantic roles & 50–950 ramp

primary
#D9D53F
secondary
#32348A
accent
#42EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D53F

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

Preview Lab → · Contrast checker → · Palette generator →

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