#D7D770#D7D770

#D7D770 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.8% C 0.126 H 108.8°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#D7D770
RGBrgb(215, 215, 112)
HSLhsl(60, 56%, 64%)
HSVhsv(60, 48%, 84%)
CMYKcmyk(0%, 0%, 47.9%, 15.7%)
CIE-LABlab(84.08, -14.09, 50.39)
CIE-LCHlch(84.08, 52.33, 105.62°)
OKLaboklab(85.79% -0.0407 0.1196)
OKLCHoklch(85.79% 0.126 108.8)
XYZxyz(55.2506, 64.2191, 24.8111)
Luminance0.6422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D770 #7070D7
analogous
#D7A470 #D7D770 #A4D770
triadic
#D7D770 #70D7D7 #D770D7
tetradic
#D7D770 #70D7A4 #7070D7 #D770A4
square
#D7D770 #70D7A4 #7070D7 #D770A4
split-complementary
#D7D770 #70A4D7 #A470D7
monochromatic
#A0A02D #CACA40 #D7D770 #E4E4A0 #F2F2D0

Accessibility & contrast

On white

1.52
#D7D770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#D7D770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D770
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D770#FFFFFF#000000##000000
##D7D7701.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d770;
/* rgb */ color: rgb(215, 215, 112);
/* oklch */ color: oklch(85.8% 0.126 108.8);
Tailwind
colors: {
  custom: {
    50: '#e5e39b',
    500: '#d7d770',
    950: '#000000',
  },
}
SCSS
$custom: #d7d770;
$custom-light: #e5e39b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d770",
  "rgb": {
    "r": 215,
    "g": 215,
    "b": 112
  },
  "hsl": {
    "h": 60,
    "s": 56.284,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85786,
    "c": 0.12629,
    "h": 108.8
  },
  "luminance": 0.64218
}

Semantic roles & 50–950 ramp

primary
#D7D770
secondary
#4747A4
accent
#22C422
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D770

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

Preview Lab → · Contrast checker → · Palette generator →

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