#D5F97A#D5F97A

#D5F97A is a very light, vivid yellow-green. Relative luminance 0.833; OKLCH L 93.0% C 0.159 H 122.6°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#D5F97A
RGBrgb(213, 249, 122)
HSLhsl(77, 91%, 73%)
HSVhsv(77, 51%, 98%)
CMYKcmyk(14.5%, 0%, 51%, 2.4%)
CIE-LABlab(93.15, -30.33, 56.51)
CIE-LCHlch(93.15, 64.13, 118.22°)
OKLaboklab(93.04% -0.0856 0.1338)
OKLCHoklch(93.04% 0.159 122.6)
XYZxyz(64.8294, 83.3025, 31.0722)
Luminance0.8330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5F97A #9E7AF9
analogous
#F9DE7A #D5F97A #95F97A
triadic
#D5F97A #7AD5F9 #F97AD5
tetradic
#D5F97A #7AF9DE #9E7AF9 #F97A95
square
#D5F97A #7AF9DE #9E7AF9 #F97A95
split-complementary
#D5F97A #7A95F9 #DE7AF9
monochromatic
#ADEE0B #C3F63F #D5F97A #E7FCB5 #F6FEE2

Accessibility & contrast

On white

1.19
#D5F97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#D5F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5F97A
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5F97A#FFFFFF#000000##000000
##D5F97A1.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6E
Deuteranopia (green-blind)
#FFEB82
Tritanopia (blue-blind)
#DEEEDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d5f97a;
/* rgb */ color: rgb(213, 249, 122);
/* oklch */ color: oklch(93.0% 0.159 122.6);
Tailwind
colors: {
  custom: {
    50: '#e4fba3',
    500: '#d5f97a',
    950: '#000000',
  },
}
SCSS
$custom: #d5f97a;
$custom-light: #e4fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#d5f97a",
  "rgb": {
    "r": 213,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 77.008,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93042,
    "c": 0.15883,
    "h": 122.6
  },
  "luminance": 0.83303
}

Semantic roles & 50–950 ramp

primary
#D5F97A
secondary
#6C42D5
accent
#00E641
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D5F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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