#2FA02B#2FA02B

#2FA02B is a mid, vivid green. Relative luminance 0.259; OKLCH L 62.0% C 0.184 H 142.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2FA02B
RGBrgb(47, 160, 43)
HSLhsl(118, 58%, 40%)
HSVhsv(118, 73%, 63%)
CMYKcmyk(70.6%, 0%, 73.1%, 37.3%)
CIE-LABlab(57.96, -53.62, 49.19)
CIE-LCHlch(57.96, 72.76, 137.47°)
OKLaboklab(61.99% -0.1458 0.1117)
OKLCHoklch(61.99% 0.184 142.5)
XYZxyz(14.1783, 25.9188, 6.5407)
Luminance0.2592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA02B #9C2BA0
analogous
#69A02B #2FA02B #2BA062
triadic
#2FA02B #2B2FA0 #A02B2F
tetradic
#2FA02B #2B69A0 #9C2BA0 #A0622B
square
#2FA02B #2B69A0 #9C2BA0 #A0622B
split-complementary
#2FA02B #622BA0 #A02B69
monochromatic
#134011 #21701E #2FA02B #42CB3D #71D86E

Accessibility & contrast

On white

3.40
#2FA02B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#2FA02B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA02B
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA02B#FFFFFF#000000##000000
##2FA02B1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49117
Deuteranopia (green-blind)
#978837
Tritanopia (blue-blind)
#0E9B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2fa02b;
/* rgb */ color: rgb(47, 160, 43);
/* oklch */ color: oklch(62.0% 0.184 142.5);
Tailwind
colors: {
  custom: {
    50: '#79bd6c',
    500: '#2fa02b',
    950: '#000000',
  },
}
SCSS
$custom: #2fa02b;
$custom-light: #79bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa02b",
  "rgb": {
    "r": 47,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 117.949,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61994,
    "c": 0.18364,
    "h": 142.5
  },
  "luminance": 0.2592
}

Semantic roles & 50–950 ramp

primary
#2FA02B
secondary
#BC68BF
accent
#47E1DC
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2FA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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