#D2F04F#D2F04F

#D2F04F is a very light, vivid yellow-green. Relative luminance 0.766; OKLCH L 90.4% C 0.184 H 119.4°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#D2F04F
RGBrgb(210, 240, 79)
HSLhsl(71, 84%, 63%)
HSVhsv(71, 67%, 94%)
CMYKcmyk(12.5%, 0%, 67.1%, 5.9%)
CIE-LABlab(90.13, -30.58, 71.10)
CIE-LCHlch(90.13, 77.40, 113.27°)
OKLaboklab(90.44% -0.09 0.16)
OKLCHoklch(90.44% 0.184 119.4)
XYZxyz(59.1508, 76.5867, 19.0622)
Luminance0.7659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F04F #6D4FF0
analogous
#F0BD4F #D2F04F #82F04F
triadic
#D2F04F #4FD2F0 #F04FD2
tetradic
#D2F04F #4FF0BD #6D4FF0 #F04F82
square
#D2F04F #4FF0BD #6D4FF0 #F04F82
split-complementary
#D2F04F #4F82F0 #BD4FF0
monochromatic
#96B50F #C4EB17 #D2F04F #E0F587 #EFFAC0

Accessibility & contrast

On white

1.29
#D2F04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.32
#D2F04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F04F
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F04F#FFFFFF#000000##000000
##D2F04F1.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE337
Deuteranopia (green-blind)
#FBE35B
Tritanopia (blue-blind)
#DEE4D0
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d2f04f;
/* rgb */ color: rgb(210, 240, 79);
/* oklch */ color: oklch(90.4% 0.184 119.4);
Tailwind
colors: {
  custom: {
    50: '#e3f589',
    500: '#d2f04f',
    950: '#000000',
  },
}
SCSS
$custom: #d2f04f;
$custom-light: #e3f589;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f04f",
  "rgb": {
    "r": 210,
    "g": 240,
    "b": 79
  },
  "hsl": {
    "h": 71.18,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.90444,
    "c": 0.18361,
    "h": 119.4
  },
  "luminance": 0.76586
}

Semantic roles & 50–950 ramp

primary
#D2F04F
secondary
#482FB5
accent
#05E12E
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #D2F04F

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

Preview Lab → · Contrast checker → · Palette generator →

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