#D9D970#D9D970

#D9D970 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.4% C 0.128 H 108.8°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#D9D970
RGBrgb(217, 217, 112)
HSLhsl(60, 58%, 65%)
HSVhsv(60, 48%, 85%)
CMYKcmyk(0%, 0%, 48.4%, 14.9%)
CIE-LABlab(84.77, -14.29, 51.25)
CIE-LCHlch(84.77, 53.20, 105.58°)
OKLaboklab(86.37% -0.0413 0.1214)
OKLCHoklch(86.37% 0.128 108.8)
XYZxyz(56.3540, 65.5486, 25.0096)
Luminance0.6555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D970 #7070D9
analogous
#D9A570 #D9D970 #A5D970
triadic
#D9D970 #70D9D9 #D970D9
tetradic
#D9D970 #70D9A5 #7070D9 #D970A5
square
#D9D970 #70D9A5 #7070D9 #D970A5
split-complementary
#D9D970 #70A5D9 #A570D9
monochromatic
#A3A32B #CCCC40 #D9D970 #E6E6A0 #F3F3D1

Accessibility & contrast

On white

1.49
#D9D970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.11
#D9D970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D970
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D970#FFFFFF#000000##000000
##D9D9701.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D267
Deuteranopia (green-blind)
#E9D575
Tritanopia (blue-blind)
#E6CEC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d9d970;
/* rgb */ color: rgb(217, 217, 112);
/* oklch */ color: oklch(86.4% 0.128 108.8);
Tailwind
colors: {
  custom: {
    50: '#e7e49b',
    500: '#d9d970',
    950: '#000000',
  },
}
SCSS
$custom: #d9d970;
$custom-light: #e7e49b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d970",
  "rgb": {
    "r": 217,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 60,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8637,
    "c": 0.12826,
    "h": 108.8
  },
  "luminance": 0.65547
}

Semantic roles & 50–950 ramp

primary
#D9D970
secondary
#4646A7
accent
#20C620
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D9D970

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

Preview Lab → · Contrast checker → · Palette generator →

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