#D2F254#D2F254

#D2F254 is a very light, vivid yellow-green. Relative luminance 0.778; OKLCH L 90.9% C 0.183 H 120.0°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#D2F254
RGBrgb(210, 242, 84)
HSLhsl(72, 86%, 64%)
HSVhsv(72, 65%, 95%)
CMYKcmyk(13.2%, 0%, 65.3%, 5.1%)
CIE-LABlab(90.71, -31.20, 69.81)
CIE-LCHlch(90.71, 76.47, 114.08°)
OKLaboklab(90.92% -0.0913 0.158)
OKLCHoklch(90.92% 0.183 120)
XYZxyz(59.9317, 77.8462, 20.2543)
Luminance0.7785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F254 #7454F2
analogous
#F2C354 #D2F254 #83F254
triadic
#D2F254 #54D2F2 #F254D2
tetradic
#D2F254 #54F2C3 #7454F2 #F25483
square
#D2F254 #54F2C3 #7454F2 #F25483
split-complementary
#D2F254 #5483F2 #C354F2
monochromatic
#9ABD0E #C3EE1B #D2F254 #E1F68D #F0FBC6

Accessibility & contrast

On white

1.27
#D2F254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.57
#D2F254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F254
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F254#FFFFFF#000000##000000
##D2F2541.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE53E
Deuteranopia (green-blind)
#FDE560
Tritanopia (blue-blind)
#DDE6D2
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d2f254;
/* rgb */ color: rgb(210, 242, 84);
/* oklch */ color: oklch(90.9% 0.183 120.0);
Tailwind
colors: {
  custom: {
    50: '#e3f68c',
    500: '#d2f254',
    950: '#000000',
  },
}
SCSS
$custom: #d2f254;
$custom-light: #e3f68c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f254",
  "rgb": {
    "r": 210,
    "g": 242,
    "b": 84
  },
  "hsl": {
    "h": 72.152,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90921,
    "c": 0.18252,
    "h": 120
  },
  "luminance": 0.77846
}

Semantic roles & 50–950 ramp

primary
#D2F254
secondary
#4B2FBB
accent
#03E230
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D2F254

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

Preview Lab → · Contrast checker → · Palette generator →

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