#D5F381#D5F381

#D5F381 is a very light, vivid yellow-green. Relative luminance 0.798; OKLCH L 91.8% C 0.144 H 121.4°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#D5F381
RGBrgb(213, 243, 129)
HSLhsl(76, 83%, 73%)
HSVhsv(76, 47%, 95%)
CMYKcmyk(12.3%, 0%, 46.9%, 4.7%)
CIE-LABlab(91.61, -26.84, 51.42)
CIE-LCHlch(91.61, 58.00, 117.56°)
OKLaboklab(91.83% -0.0752 0.1231)
OKLCHoklch(91.83% 0.144 121.4)
XYZxyz(63.4539, 79.8323, 32.8309)
Luminance0.7983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5F381 #9F81F3
analogous
#F3D881 #D5F381 #9CF381
triadic
#D5F381 #81D5F3 #F381D5
tetradic
#D5F381 #81F3D8 #9F81F3 #F3819C
square
#D5F381 #81F3D8 #9F81F3 #F3819C
split-complementary
#D5F381 #819CF3 #D881F3
monochromatic
#AEE416 #C2EE49 #D5F381 #E8F8B9 #F6FCE3

Accessibility & contrast

On white

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

On black

16.97
#D5F381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5F381
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5F381#FFFFFF#000000##000000
##D5F3811.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE777
Deuteranopia (green-blind)
#FBE787
Tritanopia (blue-blind)
#DEE9D8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d5f381;
/* rgb */ color: rgb(213, 243, 129);
/* oklch */ color: oklch(91.8% 0.144 121.4);
Tailwind
colors: {
  custom: {
    50: '#e4f7a8',
    500: '#d5f381',
    950: '#000000',
  },
}
SCSS
$custom: #d5f381;
$custom-light: #e4f7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#d5f381",
  "rgb": {
    "r": 213,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 75.789,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.91833,
    "c": 0.14428,
    "h": 121.4
  },
  "luminance": 0.79832
}

Semantic roles & 50–950 ramp

primary
#D5F381
secondary
#6D4ACF
accent
#06DF3F
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #D5F381

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

Preview Lab → · Contrast checker → · Palette generator →

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