#D5F87B#D5F87B

#D5F87B is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 92.8% C 0.157 H 122.4°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#D5F87B
RGBrgb(213, 248, 123)
HSLhsl(77, 90%, 73%)
HSVhsv(77, 50%, 97%)
CMYKcmyk(14.1%, 0%, 50.4%, 2.7%)
CIE-LABlab(92.89, -29.77, 55.75)
CIE-LCHlch(92.89, 63.20, 118.10°)
OKLaboklab(92.84% -0.084 0.1322)
OKLCHoklch(92.84% 0.157 122.4)
XYZxyz(64.5834, 82.7109, 31.2974)
Luminance0.8271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5F87B #9E7BF8
analogous
#F8DC7B #D5F87B #96F87B
triadic
#D5F87B #7BD5F8 #F87BD5
tetradic
#D5F87B #7BF8DC #9E7BF8 #F87B96
square
#D5F87B #7BF8DC #9E7BF8 #F87B96
split-complementary
#D5F87B #7B96F8 #DC7BF8
monochromatic
#ADEC0D #C3F541 #D5F87B #E7FBB5 #F6FDE2

Accessibility & contrast

On white

1.20
#D5F87B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.54
#D5F87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5F87B
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5F87B#FFFFFF#000000##000000
##D5F87B1.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5f87b;
/* rgb */ color: rgb(213, 248, 123);
/* oklch */ color: oklch(92.8% 0.157 122.4);
Tailwind
colors: {
  custom: {
    50: '#e4faa4',
    500: '#d5f87b',
    950: '#000000',
  },
}
SCSS
$custom: #d5f87b;
$custom-light: #e4faa4;
$custom-dark: #000000;
JSON
{
  "hex": "#d5f87b",
  "rgb": {
    "r": 213,
    "g": 248,
    "b": 123
  },
  "hsl": {
    "h": 76.8,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92837,
    "c": 0.1566,
    "h": 122.4
  },
  "luminance": 0.82711
}

Semantic roles & 50–950 ramp

primary
#D5F87B
secondary
#6C43D4
accent
#00E640
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D5F87B

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

Preview Lab → · Contrast checker → · Palette generator →

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