#D2F45F#D2F45F

#D2F45F is a very light, vivid yellow-green. Relative luminance 0.792; OKLCH L 91.5% C 0.177 H 120.9°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#D2F45F
RGBrgb(210, 244, 95)
HSLhsl(74, 87%, 66%)
HSVhsv(74, 61%, 96%)
CMYKcmyk(13.9%, 0%, 61.1%, 4.3%)
CIE-LABlab(91.34, -31.39, 66.12)
CIE-LCHlch(91.34, 73.19, 115.39°)
OKLaboklab(91.45% -0.0908 0.1517)
OKLCHoklch(91.45% 0.177 120.9)
XYZxyz(60.9953, 79.2293, 22.9037)
Luminance0.7923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F45F #815FF4
analogous
#F4CC5F #D2F45F #88F45F
triadic
#D2F45F #5FD2F4 #F45FD2
tetradic
#D2F45F #5FF4CC #815FF4 #F45F88
square
#D2F45F #5FF4CC #815FF4 #F45F88
split-complementary
#D2F45F #5F88F4 #CC5FF4
monochromatic
#A0CB0E #C2F026 #D2F45F #E2F898 #F2FCD2

Accessibility & contrast

On white

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

On black

16.85
#D2F45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F45F
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F45F#FFFFFF#000000##000000
##D2F45F1.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE74D
Deuteranopia (green-blind)
#FEE669
Tritanopia (blue-blind)
#DCE8D5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d2f45f;
/* rgb */ color: rgb(210, 244, 95);
/* oklch */ color: oklch(91.5% 0.177 120.9);
Tailwind
colors: {
  custom: {
    50: '#e3f792',
    500: '#d2f45f',
    950: '#000000',
  },
}
SCSS
$custom: #d2f45f;
$custom-light: #e3f792;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f45f",
  "rgb": {
    "r": 210,
    "g": 244,
    "b": 95
  },
  "hsl": {
    "h": 73.691,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91454,
    "c": 0.1768,
    "h": 120.9
  },
  "luminance": 0.79229
}

Semantic roles & 50–950 ramp

primary
#D2F45F
secondary
#5330C7
accent
#02E435
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D2F45F

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

Preview Lab → · Contrast checker → · Palette generator →

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