#D2F45C#D2F45C

#D2F45C is a very light, vivid yellow-green. Relative luminance 0.792; OKLCH L 91.4% C 0.179 H 120.8°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#D2F45C
RGBrgb(210, 244, 92)
HSLhsl(73, 87%, 66%)
HSVhsv(73, 62%, 96%)
CMYKcmyk(13.9%, 0%, 62.3%, 4.3%)
CIE-LABlab(91.31, -31.60, 67.31)
CIE-LCHlch(91.31, 74.36, 115.15°)
OKLaboklab(91.43% -0.0917 0.1538)
OKLCHoklch(91.43% 0.179 120.8)
XYZxyz(60.8616, 79.1758, 22.1993)
Luminance0.7918 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F45C #7E5CF4
analogous
#F4CA5C #D2F45C #86F45C
triadic
#D2F45C #5CD2F4 #F45CD2
tetradic
#D2F45C #5CF4CA #7E5CF4 #F45C86
square
#D2F45C #5CF4CA #7E5CF4 #F45C86
split-complementary
#D2F45C #5C86F4 #CA5CF4
monochromatic
#9EC80E #C2F023 #D2F45C #E2F895 #F2FCCF

Accessibility & contrast

On white

1.25
#D2F45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.84
#D2F45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F45C
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F45C#FFFFFF#000000##000000
##D2F45C1.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE749
Deuteranopia (green-blind)
#FEE667
Tritanopia (blue-blind)
#DDE8D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d2f45c;
/* rgb */ color: rgb(210, 244, 92);
/* oklch */ color: oklch(91.4% 0.179 120.8);
Tailwind
colors: {
  custom: {
    50: '#e3f790',
    500: '#d2f45c',
    950: '#000000',
  },
}
SCSS
$custom: #d2f45c;
$custom-light: #e3f790;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f45c",
  "rgb": {
    "r": 210,
    "g": 244,
    "b": 92
  },
  "hsl": {
    "h": 73.421,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.91427,
    "c": 0.17908,
    "h": 120.8
  },
  "luminance": 0.79176
}

Semantic roles & 50–950 ramp

primary
#D2F45C
secondary
#512FC5
accent
#02E434
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D2F45C

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

Preview Lab → · Contrast checker → · Palette generator →

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