#D7D970#D7D970

#D7D970 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.2% C 0.129 H 109.8°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#D7D970
RGBrgb(215, 217, 112)
HSLhsl(61, 58%, 65%)
HSVhsv(61, 48%, 85%)
CMYKcmyk(0.9%, 0%, 48.4%, 14.9%)
CIE-LABlab(84.61, -15.09, 51.03)
CIE-LCHlch(84.61, 53.21, 106.47°)
OKLaboklab(86.21% -0.0435 0.121)
OKLCHoklch(86.21% 0.129 109.8)
XYZxyz(55.7630, 65.2439, 24.9819)
Luminance0.6524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D970 #7270D9
analogous
#D9A770 #D7D970 #A3D970
triadic
#D7D970 #70D7D9 #D970D7
tetradic
#D7D970 #70D9A7 #7270D9 #D970A3
square
#D7D970 #70D9A7 #7270D9 #D970A3
split-complementary
#D7D970 #70A3D9 #A770D9
monochromatic
#A1A32B #C9CC40 #D7D970 #E5E6A0 #F2F3D1

Accessibility & contrast

On white

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

On black

14.05
#D7D970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D970
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D970#FFFFFF#000000##000000
##D7D9701.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D167
Deuteranopia (green-blind)
#E8D575
Tritanopia (blue-blind)
#E3CEC1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d7d970;
/* rgb */ color: rgb(215, 217, 112);
/* oklch */ color: oklch(86.2% 0.129 109.8);
Tailwind
colors: {
  custom: {
    50: '#e5e49b',
    500: '#d7d970',
    950: '#000000',
  },
}
SCSS
$custom: #d7d970;
$custom-light: #e5e49b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d970",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 61.143,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86207,
    "c": 0.12854,
    "h": 109.8
  },
  "luminance": 0.65243
}

Semantic roles & 50–950 ramp

primary
#D7D970
secondary
#4846A7
accent
#20C623
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D970

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

Preview Lab → · Contrast checker → · Palette generator →

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