#D7F45C#D7F45C

#D7F45C is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.8% C 0.177 H 119.2°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#D7F45C
RGBrgb(215, 244, 92)
HSLhsl(71, 87%, 66%)
HSVhsv(71, 62%, 96%)
CMYKcmyk(11.9%, 0%, 62.3%, 4.3%)
CIE-LABlab(91.65, -29.66, 67.77)
CIE-LCHlch(91.65, 73.98, 113.64°)
OKLaboklab(91.78% -0.0866 0.1547)
OKLCHoklch(91.78% 0.177 119.2)
XYZxyz(62.3078, 79.9215, 22.2671)
Luminance0.7992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F45C #795CF4
analogous
#F4C55C #D7F45C #8BF45C
triadic
#D7F45C #5CD7F4 #F45CD7
tetradic
#D7F45C #5CF4C5 #795CF4 #F45C8B
square
#D7F45C #5CF4C5 #795CF4 #F45C8B
split-complementary
#D7F45C #5C8BF4 #C55CF4
monochromatic
#A4C80E #C9F023 #D7F45C #E5F895 #F3FCCF

Accessibility & contrast

On white

1.24
#D7F45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.98
#D7F45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F45C
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F45C#FFFFFF#000000##000000
##D7F45C1.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE749
Deuteranopia (green-blind)
#FFE867
Tritanopia (blue-blind)
#E3E8D4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d7f45c;
/* rgb */ color: rgb(215, 244, 92);
/* oklch */ color: oklch(91.8% 0.177 119.2);
Tailwind
colors: {
  custom: {
    50: '#e6f791',
    500: '#d7f45c',
    950: '#000000',
  },
}
SCSS
$custom: #d7f45c;
$custom-light: #e6f791;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f45c",
  "rgb": {
    "r": 215,
    "g": 244,
    "b": 92
  },
  "hsl": {
    "h": 71.447,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.91782,
    "c": 0.17728,
    "h": 119.2
  },
  "luminance": 0.79921
}

Semantic roles & 50–950 ramp

primary
#D7F45C
secondary
#4C2FC5
accent
#02E42D
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D7F45C

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

Preview Lab → · Contrast checker → · Palette generator →

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