#D7F45A#D7F45A

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

Color values

HEX#D7F45A
RGBrgb(215, 244, 90)
HSLhsl(71, 88%, 65%)
HSVhsv(71, 63%, 96%)
CMYKcmyk(11.9%, 0%, 63.1%, 4.3%)
CIE-LABlab(91.63, -29.79, 68.55)
CIE-LCHlch(91.63, 74.75, 113.49°)
OKLaboklab(91.76% -0.0871 0.1561)
OKLCHoklch(91.76% 0.179 119.2)
XYZxyz(62.2215, 79.8870, 21.8127)
Luminance0.7989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F45A #775AF4
analogous
#F4C45A #D7F45A #8AF45A
triadic
#D7F45A #5AD7F4 #F45AD7
tetradic
#D7F45A #5AF4C4 #775AF4 #F45A8A
square
#D7F45A #5AF4C4 #775AF4 #F45A8A
split-complementary
#D7F45A #5A8AF4 #C45AF4
monochromatic
#A4C60D #C9F021 #D7F45A #E5F893 #F3FCCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7F45A#FFFFFF#000000##000000
##D7F45A1.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)
#FFE746
Deuteranopia (green-blind)
#FFE865
Tritanopia (blue-blind)
#E3E8D4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d7f45a;
/* rgb */ color: rgb(215, 244, 90);
/* oklch */ color: oklch(91.8% 0.179 119.2);
Tailwind
colors: {
  custom: {
    50: '#e6f78f',
    500: '#d7f45a',
    950: '#000000',
  },
}
SCSS
$custom: #d7f45a;
$custom-light: #e6f78f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f45a",
  "rgb": {
    "r": 215,
    "g": 244,
    "b": 90
  },
  "hsl": {
    "h": 71.299,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.91764,
    "c": 0.17876,
    "h": 119.2
  },
  "luminance": 0.79887
}

Semantic roles & 50–950 ramp

primary
#D7F45A
secondary
#4B2FC3
accent
#01E42C
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D7F45A

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

Preview Lab → · Contrast checker → · Palette generator →

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