#D2FA5B#D2FA5B

#D2FA5B is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 92.7% C 0.187 H 122.2°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#D2FA5B
RGBrgb(210, 250, 91)
HSLhsl(75, 94%, 67%)
HSVhsv(75, 64%, 98%)
CMYKcmyk(16%, 0%, 63.6%, 2%)
CIE-LABlab(92.94, -34.42, 69.44)
CIE-LCHlch(92.94, 77.50, 116.36°)
OKLaboklab(92.73% -0.0996 0.1582)
OKLCHoklch(92.73% 0.187 122.2)
XYZxyz(62.6530, 82.8281, 22.5822)
Luminance0.8283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FA5B #835BFA
analogous
#FAD25B #D2FA5B #83FA5B
triadic
#D2FA5B #5BD2FA #FA5BD2
tetradic
#D2FA5B #5BFAD2 #835BFA #FA5B83
square
#D2FA5B #5BFAD2 #835BFA #FA5B83
split-complementary
#D2FA5B #5B83FA #D25BFA
monochromatic
#A0D406 #C2F820 #D2FA5B #E2FC96 #F3FED2

Accessibility & contrast

On white

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

On black

17.57
#D2FA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FA5B
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FA5B#FFFFFF#000000##000000
##D2FA5B1.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC46
Deuteranopia (green-blind)
#FFEB67
Tritanopia (blue-blind)
#DCEED9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d2fa5b;
/* rgb */ color: rgb(210, 250, 91);
/* oklch */ color: oklch(92.7% 0.187 122.2);
Tailwind
colors: {
  custom: {
    50: '#e3fc90',
    500: '#d2fa5b',
    950: '#000000',
  },
}
SCSS
$custom: #d2fa5b;
$custom-light: #e3fc90;
$custom-dark: #000000;
JSON
{
  "hex": "#d2fa5b",
  "rgb": {
    "r": 210,
    "g": 250,
    "b": 91
  },
  "hsl": {
    "h": 75.094,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.92734,
    "c": 0.18695,
    "h": 122.2
  },
  "luminance": 0.82828
}

Semantic roles & 50–950 ramp

primary
#D2FA5B
secondary
#542BCF
accent
#00E63A
background
#FEFFFC
surface
#FDFFF4
border
#D5D7CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D2FA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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