#2FA828#2FA828

#2FA828 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.2% C 0.195 H 142.3°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2FA828
RGBrgb(47, 168, 40)
HSLhsl(117, 62%, 41%)
HSVhsv(117, 76%, 66%)
CMYKcmyk(72%, 0%, 76.2%, 34.1%)
CIE-LABlab(60.57, -56.54, 52.91)
CIE-LCHlch(60.57, 77.43, 136.90°)
OKLaboklab(64.15% -0.1538 0.119)
OKLCHoklch(64.15% 0.195 142.3)
XYZxyz(15.5570, 28.7611, 6.7386)
Luminance0.2876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA828 #A128A8
analogous
#6FA828 #2FA828 #28A861
triadic
#2FA828 #282FA8 #A8282F
tetradic
#2FA828 #286FA8 #A128A8 #A86128
square
#2FA828 #286FA8 #A128A8 #A86128
split-complementary
#2FA828 #6128A8 #A8286F
monochromatic
#134510 #21771C #2FA828 #45D13D #74DC6E

Accessibility & contrast

On white

3.11
#2FA828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#2FA828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA828
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA828#FFFFFF#000000##000000
##2FA8281.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980B
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#06A390
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2fa828;
/* rgb */ color: rgb(47, 168, 40);
/* oklch */ color: oklch(64.2% 0.195 142.3);
Tailwind
colors: {
  custom: {
    50: '#7bc36b',
    500: '#2fa828',
    950: '#000000',
  },
}
SCSS
$custom: #2fa828;
$custom-light: #7bc36b;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa828",
  "rgb": {
    "r": 47,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 116.719,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64154,
    "c": 0.1945,
    "h": 142.3
  },
  "luminance": 0.28763
}

Semantic roles & 50–950 ramp

primary
#2FA828
secondary
#BE69C3
accent
#43E5DC
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2FA828

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

Preview Lab → · Contrast checker → · Palette generator →

#2FA828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva