#D9D770#D9D770

#D9D770 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.0% C 0.126 H 107.8°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#D9D770
RGBrgb(217, 215, 112)
HSLhsl(59, 58%, 65%)
HSVhsv(59, 48%, 85%)
CMYKcmyk(0%, 0.9%, 48.4%, 14.9%)
CIE-LABlab(84.24, -13.29, 50.62)
CIE-LCHlch(84.24, 52.33, 104.71°)
OKLaboklab(85.95% -0.0385 0.12)
OKLCHoklch(85.95% 0.126 107.8)
XYZxyz(55.8416, 64.5238, 24.8388)
Luminance0.6452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D770 #7072D9
analogous
#D9A370 #D9D770 #A7D970
triadic
#D9D770 #70D9D7 #D770D9
tetradic
#D9D770 #70D9A3 #7072D9 #D970A7
square
#D9D770 #70D9A3 #7072D9 #D970A7
split-complementary
#D9D770 #70A7D9 #A370D9
monochromatic
#A3A12B #CCC940 #D9D770 #E6E5A0 #F3F2D1

Accessibility & contrast

On white

1.51
#D9D770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#D9D770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D770
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D770#FFFFFF#000000##000000
##D9D7701.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D067
Deuteranopia (green-blind)
#E7D475
Tritanopia (blue-blind)
#E6CCBF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d770;
/* rgb */ color: rgb(217, 215, 112);
/* oklch */ color: oklch(86.0% 0.126 107.8);
Tailwind
colors: {
  custom: {
    50: '#e7e39b',
    500: '#d9d770',
    950: '#000000',
  },
}
SCSS
$custom: #d9d770;
$custom-light: #e7e39b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d770",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 112
  },
  "hsl": {
    "h": 58.857,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8595,
    "c": 0.12605,
    "h": 107.8
  },
  "luminance": 0.64522
}

Semantic roles & 50–950 ramp

primary
#D9D770
secondary
#4648A7
accent
#23C620
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D9D770

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

Preview Lab → · Contrast checker → · Palette generator →

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