#D9D53E#D9D53E

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

Color values

HEX#D9D53E
RGBrgb(217, 213, 62)
HSLhsl(58, 67%, 55%)
HSVhsv(58, 71%, 85%)
CMYKcmyk(0%, 1.8%, 71.4%, 14.9%)
CIE-LABlab(83.28, -15.66, 70.59)
CIE-LCHlch(83.28, 72.30, 102.51°)
OKLaboklab(85.05% -0.0504 0.156)
OKLCHoklch(85.05% 0.164 107.9)
XYZxyz(53.2810, 62.6898, 13.8502)
Luminance0.6269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D53E #3E42D9
analogous
#D9883E #D9D53E #8FD93E
triadic
#D9D53E #3ED9D5 #D53ED9
tetradic
#D9D53E #3ED988 #3E42D9 #D93E8F
square
#D9D53E #3ED988 #3E42D9 #D93E8F
split-complementary
#D9D53E #3E8FD9 #883ED9
monochromatic
#83801A #B6B224 #D9D53E #E3E071 #EDEBA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D53E#FFFFFF#000000##000000
##D9D53E1.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)
#E7CD22
Deuteranopia (green-blind)
#E9D249
Tritanopia (blue-blind)
#E9C7B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d53e;
/* rgb */ color: rgb(217, 213, 62);
/* oklch */ color: oklch(85.0% 0.164 107.9);
Tailwind
colors: {
  custom: {
    50: '#e9e17d',
    500: '#d9d53e',
    950: '#000000',
  },
}
SCSS
$custom: #d9d53e;
$custom-light: #e9e17d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d53e",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 62
  },
  "hsl": {
    "h": 58.452,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.85048,
    "c": 0.16395,
    "h": 107.9
  },
  "luminance": 0.62688
}

Semantic roles & 50–950 ramp

primary
#D9D53E
secondary
#32348A
accent
#42EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9D53E

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

Preview Lab → · Contrast checker → · Palette generator →

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