#D2FA57#D2FA57

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

Color values

HEX#D2FA57
RGBrgb(210, 250, 87)
HSLhsl(75, 94%, 66%)
HSVhsv(75, 65%, 98%)
CMYKcmyk(16%, 0%, 65.2%, 2%)
CIE-LABlab(92.91, -34.68, 70.96)
CIE-LCHlch(92.91, 78.98, 116.05°)
OKLaboklab(92.7% -0.1007 0.1609)
OKLCHoklch(92.7% 0.19 122)
XYZxyz(62.4850, 82.7609, 21.6976)
Luminance0.8276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FA57 #7F57FA
analogous
#FAD057 #D2FA57 #80FA57
triadic
#D2FA57 #57D2FA #FA57D2
tetradic
#D2FA57 #57FAD0 #7F57FA #FA5780
square
#D2FA57 #57FAD0 #7F57FA #FA5780
split-complementary
#D2FA57 #5780FA #D057FA
monochromatic
#9FD006 #C2F81C #D2FA57 #E2FC92 #F2FECE

Accessibility & contrast

On white

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

On black

17.55
#D2FA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FA57
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FA57#FFFFFF#000000##000000
##D2FA571.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2fa57;
/* rgb */ color: rgb(210, 250, 87);
/* oklch */ color: oklch(92.7% 0.190 122.0);
Tailwind
colors: {
  custom: {
    50: '#e3fc8e',
    500: '#d2fa57',
    950: '#000000',
  },
}
SCSS
$custom: #d2fa57;
$custom-light: #e3fc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2fa57",
  "rgb": {
    "r": 210,
    "g": 250,
    "b": 87
  },
  "hsl": {
    "h": 74.724,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.927,
    "c": 0.18977,
    "h": 122
  },
  "luminance": 0.82761
}

Semantic roles & 50–950 ramp

primary
#D2FA57
secondary
#512ACB
accent
#00E638
background
#FEFFFC
surface
#FDFFF4
border
#D5D7CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D2FA57

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

Preview Lab → · Contrast checker → · Palette generator →

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