#D7F672#D7F672

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

Color values

HEX#D7F672
RGBrgb(215, 246, 114)
HSLhsl(74, 88%, 71%)
HSVhsv(74, 54%, 96%)
CMYKcmyk(12.6%, 0%, 53.7%, 3.5%)
CIE-LABlab(92.39, -28.90, 59.25)
CIE-LCHlch(92.39, 65.92, 116.00°)
OKLaboklab(92.44% -0.0824 0.139)
OKLCHoklch(92.44% 0.162 120.7)
XYZxyz(64.0179, 81.5736, 28.2890)
Luminance0.8157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F672 #9172F6
analogous
#F6D372 #D7F672 #95F672
triadic
#D7F672 #72D7F6 #F672D7
tetradic
#D7F672 #72F6D3 #9172F6 #F67295
square
#D7F672 #72F6D3 #9172F6 #F67295
split-complementary
#D7F672 #7295F6 #D372F6
monochromatic
#AEDF0E #C7F238 #D7F672 #E7FAAC #F7FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7F672#FFFFFF#000000##000000
##D7F6721.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)
#FFEA65
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#E1EBD9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d7f672;
/* rgb */ color: rgb(215, 246, 114);
/* oklch */ color: oklch(92.4% 0.162 120.7);
Tailwind
colors: {
  custom: {
    50: '#e6f99e',
    500: '#d7f672',
    950: '#000000',
  },
}
SCSS
$custom: #d7f672;
$custom-light: #e6f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f672",
  "rgb": {
    "r": 215,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 74.091,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92437,
    "c": 0.16159,
    "h": 120.7
  },
  "luminance": 0.81574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7F672

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

Preview Lab → · Contrast checker → · Palette generator →

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