#D5F97C#D5F97C

#D5F97C is a very light, vivid yellow-green. Relative luminance 0.834; OKLCH L 93.1% C 0.157 H 122.8°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#D5F97C
RGBrgb(213, 249, 124)
HSLhsl(77, 91%, 73%)
HSVhsv(77, 50%, 98%)
CMYKcmyk(14.5%, 0%, 50.2%, 2.4%)
CIE-LABlab(93.17, -30.14, 55.62)
CIE-LCHlch(93.17, 63.26, 118.45°)
OKLaboklab(93.07% -0.0849 0.132)
OKLCHoklch(93.07% 0.157 122.8)
XYZxyz(64.9546, 83.3526, 31.7316)
Luminance0.8335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5F97C #A07CF9
analogous
#F9DE7C #D5F97C #96F97C
triadic
#D5F97C #7CD5F9 #F97CD5
tetradic
#D5F97C #7CF9DE #A07CF9 #F97C96
square
#D5F97C #7CF9DE #A07CF9 #F97C96
split-complementary
#D5F97C #7C96F9 #DE7CF9
monochromatic
#AEF00B #C2F641 #D5F97C #E8FCB7 #F6FEE2

Accessibility & contrast

On white

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

On black

17.67
#D5F97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5F97C
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5F97C#FFFFFF#000000##000000
##D5F97C1.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC71
Deuteranopia (green-blind)
#FFEB83
Tritanopia (blue-blind)
#DDEFDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d5f97c;
/* rgb */ color: rgb(213, 249, 124);
/* oklch */ color: oklch(93.1% 0.157 122.8);
Tailwind
colors: {
  custom: {
    50: '#e4fba5',
    500: '#d5f97c',
    950: '#000000',
  },
}
SCSS
$custom: #d5f97c;
$custom-light: #e4fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#d5f97c",
  "rgb": {
    "r": 213,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 77.28,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93067,
    "c": 0.15696,
    "h": 122.8
  },
  "luminance": 0.83353
}

Semantic roles & 50–950 ramp

primary
#D5F97C
secondary
#6E44D6
accent
#00E642
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D5F97C

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

Preview Lab → · Contrast checker → · Palette generator →

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