#D2F381#D2F381

#D2F381 is a very light, vivid yellow-green. Relative luminance 0.794; OKLCH L 91.6% C 0.145 H 122.6°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#D2F381
RGBrgb(210, 243, 129)
HSLhsl(77, 83%, 73%)
HSVhsv(77, 47%, 95%)
CMYKcmyk(13.6%, 0%, 46.9%, 4.7%)
CIE-LABlab(91.41, -27.97, 51.13)
CIE-LCHlch(91.41, 58.28, 118.68°)
OKLaboklab(91.62% -0.0783 0.1225)
OKLCHoklch(91.62% 0.145 122.6)
XYZxyz(62.5915, 79.3877, 32.7905)
Luminance0.7939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F381 #A281F3
analogous
#F3DB81 #D2F381 #99F381
triadic
#D2F381 #81D2F3 #F381D2
tetradic
#D2F381 #81F3DB #A281F3 #F38199
square
#D2F381 #81F3DB #A281F3 #F38199
split-complementary
#D2F381 #8199F3 #DB81F3
monochromatic
#A8E416 #BEEE49 #D2F381 #E6F8B9 #F5FCE3

Accessibility & contrast

On white

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

On black

16.88
#D2F381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F381
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F381#FFFFFF#000000##000000
##D2F3811.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE777
Deuteranopia (green-blind)
#FAE687
Tritanopia (blue-blind)
#DAE9D8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d2f381;
/* rgb */ color: rgb(210, 243, 129);
/* oklch */ color: oklch(91.6% 0.145 122.6);
Tailwind
colors: {
  custom: {
    50: '#e1f7a8',
    500: '#d2f381',
    950: '#000000',
  },
}
SCSS
$custom: #d2f381;
$custom-light: #e1f7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f381",
  "rgb": {
    "r": 210,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 77.368,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.91622,
    "c": 0.14537,
    "h": 122.6
  },
  "luminance": 0.79388
}

Semantic roles & 50–950 ramp

primary
#D2F381
secondary
#704ACF
accent
#06DF45
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #D2F381

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

Preview Lab → · Contrast checker → · Palette generator →

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