#D7F671#D7F671

#D7F671 is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.4% C 0.162 H 120.6°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#D7F671
RGBrgb(215, 246, 113)
HSLhsl(74, 88%, 70%)
HSVhsv(74, 54%, 96%)
CMYKcmyk(12.6%, 0%, 54.1%, 3.5%)
CIE-LABlab(92.38, -28.98, 59.69)
CIE-LCHlch(92.38, 66.35, 115.90°)
OKLaboklab(92.43% -0.0827 0.1398)
OKLCHoklch(92.43% 0.162 120.6)
XYZxyz(63.9613, 81.5510, 27.9909)
Luminance0.8155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F671 #9071F6
analogous
#F6D271 #D7F671 #94F671
triadic
#D7F671 #71D7F6 #F671D7
tetradic
#D7F671 #71F6D2 #9071F6 #F67194
square
#D7F671 #71F6D2 #9071F6 #F67194
split-complementary
#D7F671 #7194F6 #D271F6
monochromatic
#AEDE0E #C7F237 #D7F671 #E7FAAB #F7FDE2

Accessibility & contrast

On white

1.21
#D7F671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#D7F671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F671
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F671#FFFFFF#000000##000000
##D7F6711.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA64
Deuteranopia (green-blind)
#FFE979
Tritanopia (blue-blind)
#E1EBD9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d7f671;
/* rgb */ color: rgb(215, 246, 113);
/* oklch */ color: oklch(92.4% 0.162 120.6);
Tailwind
colors: {
  custom: {
    50: '#e6f99d',
    500: '#d7f671',
    950: '#000000',
  },
}
SCSS
$custom: #d7f671;
$custom-light: #e6f99d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f671",
  "rgb": {
    "r": 215,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 73.985,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92426,
    "c": 0.16248,
    "h": 120.6
  },
  "luminance": 0.81551
}

Semantic roles & 50–950 ramp

primary
#D7F671
secondary
#5E3BD0
accent
#01E536
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D7F671

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

Preview Lab → · Contrast checker → · Palette generator →

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