#D2F186#D2F186

#D2F186 is a very light, vivid yellow-green. Relative luminance 0.783; OKLCH L 91.3% C 0.138 H 122.4°. Best body text is #000000 at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#D2F186
RGBrgb(210, 241, 134)
HSLhsl(77, 79%, 74%)
HSVhsv(77, 44%, 95%)
CMYKcmyk(12.9%, 0%, 44.4%, 5.5%)
CIE-LABlab(90.93, -26.50, 48.17)
CIE-LCHlch(90.93, 54.98, 118.82°)
OKLaboklab(91.26% -0.0737 0.1162)
OKLCHoklch(91.26% 0.138 122.4)
XYZxyz(62.3368, 78.3334, 34.3854)
Luminance0.7833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F186 #A586F1
analogous
#F1DA86 #D2F186 #9CF186
triadic
#D2F186 #86D2F1 #F186D2
tetradic
#D2F186 #86F1DA #A586F1 #F1869C
square
#D2F186 #86F1DA #A586F1 #F1869C
split-complementary
#D2F186 #869CF1 #DA86F1
monochromatic
#A8E21A #BEEB4F #D2F186 #E6F7BD #F5FCE4

Accessibility & contrast

On white

1.26
#D2F186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.67
#D2F186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F186
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F186#FFFFFF#000000##000000
##D2F1861.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE67D
Deuteranopia (green-blind)
#F8E58C
Tritanopia (blue-blind)
#DAE8D8
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d2f186;
/* rgb */ color: rgb(210, 241, 134);
/* oklch */ color: oklch(91.3% 0.138 122.4);
Tailwind
colors: {
  custom: {
    50: '#e1f5ab',
    500: '#d2f186',
    950: '#000000',
  },
}
SCSS
$custom: #d2f186;
$custom-light: #e1f5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f186",
  "rgb": {
    "r": 210,
    "g": 241,
    "b": 134
  },
  "hsl": {
    "h": 77.383,
    "s": 79.259,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91259,
    "c": 0.13765,
    "h": 122.4
  },
  "luminance": 0.78333
}

Semantic roles & 50–950 ramp

primary
#D2F186
secondary
#734FCD
accent
#0ADC47
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #D2F186

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

Preview Lab → · Contrast checker → · Palette generator →

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