#D9D437#D9D437

#D9D437 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.8% C 0.167 H 107.6°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#D9D437
RGBrgb(217, 212, 55)
HSLhsl(58, 68%, 53%)
HSVhsv(58, 75%, 85%)
CMYKcmyk(0%, 2.3%, 74.7%, 14.9%)
CIE-LABlab(82.98, -15.46, 72.62)
CIE-LCHlch(82.98, 74.25, 102.02°)
OKLaboklab(84.79% -0.0505 0.1591)
OKLCHoklch(84.79% 0.167 107.6)
XYZxyz(52.8504, 62.1163, 12.8194)
Luminance0.6211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D437 #373CD9
analogous
#D98337 #D9D437 #8DD937
triadic
#D9D437 #37D9D4 #D437D9
tetradic
#D9D437 #37D983 #373CD9 #D9378D
square
#D9D437 #37D983 #373CD9 #D9378D
split-complementary
#D9D437 #378DD9 #8337D9
monochromatic
#7E7B18 #B1AD22 #D9D437 #E3DF6A #EDEA9E

Accessibility & contrast

On white

1.56
#D9D437 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#D9D437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D437
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D437#FFFFFF#000000##000000
##D9D4371.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC11
Deuteranopia (green-blind)
#E9D144
Tritanopia (blue-blind)
#E9C6B6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d437;
/* rgb */ color: rgb(217, 212, 55);
/* oklch */ color: oklch(84.8% 0.167 107.6);
Tailwind
colors: {
  custom: {
    50: '#e9e07a',
    500: '#d9d437',
    950: '#000000',
  },
}
SCSS
$custom: #d9d437;
$custom-light: #e9e07a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d437",
  "rgb": {
    "r": 217,
    "g": 212,
    "b": 55
  },
  "hsl": {
    "h": 58.148,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.84793,
    "c": 0.1669,
    "h": 107.6
  },
  "luminance": 0.62115
}

Semantic roles & 50–950 ramp

primary
#D9D437
secondary
#2F3285
accent
#42EB3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9D437

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

Preview Lab → · Contrast checker → · Palette generator →

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