#D9D537#D9D537

#D9D537 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.0% C 0.168 H 108.0°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#D9D537
RGBrgb(217, 213, 55)
HSLhsl(59, 68%, 53%)
HSVhsv(59, 75%, 85%)
CMYKcmyk(0%, 1.8%, 74.7%, 14.9%)
CIE-LABlab(83.24, -15.96, 72.87)
CIE-LCHlch(83.24, 74.59, 102.35°)
OKLaboklab(85.01% -0.0518 0.1596)
OKLCHoklch(85.01% 0.168 108)
XYZxyz(53.1012, 62.6178, 12.9030)
Luminance0.6262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D537 #373BD9
analogous
#D98437 #D9D537 #8CD937
triadic
#D9D537 #37D9D5 #D537D9
tetradic
#D9D537 #37D984 #373BD9 #D9378C
square
#D9D537 #37D984 #373BD9 #D9378C
split-complementary
#D9D537 #378CD9 #8437D9
monochromatic
#7E7B18 #B1AE22 #D9D537 #E3E06A #EDEB9E

Accessibility & contrast

On white

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

On black

13.52
#D9D537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D537
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D537#FFFFFF#000000##000000
##D9D5371.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CC11
Deuteranopia (green-blind)
#EAD244
Tritanopia (blue-blind)
#E9C7B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d537;
/* rgb */ color: rgb(217, 213, 55);
/* oklch */ color: oklch(85.0% 0.168 108.0);
Tailwind
colors: {
  custom: {
    50: '#e9e17a',
    500: '#d9d537',
    950: '#000000',
  },
}
SCSS
$custom: #d9d537;
$custom-light: #e9e17a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d537",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 55
  },
  "hsl": {
    "h": 58.519,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.85005,
    "c": 0.16783,
    "h": 108
  },
  "luminance": 0.62616
}

Semantic roles & 50–950 ramp

primary
#D9D537
secondary
#2F3185
accent
#41EB3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9D537

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

Preview Lab → · Contrast checker → · Palette generator →

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