#2FB862#2FB862

#2FB862 is a light, vivid green. Relative luminance 0.358; OKLCH L 69.1% C 0.169 H 151.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2FB862
RGBrgb(47, 184, 98)
HSLhsl(142, 59%, 45%)
HSVhsv(142, 74%, 72%)
CMYKcmyk(74.5%, 0%, 46.7%, 27.8%)
CIE-LABlab(66.34, -54.98, 33.48)
CIE-LCHlch(66.34, 64.38, 148.66°)
OKLaboklab(69.13% -0.1479 0.082)
OKLCHoklch(69.13% 0.169 151)
XYZxyz(20.5156, 35.7648, 17.3750)
Luminance0.3577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB862 #B82F85
analogous
#40B82F #2FB862 #2FB8A6
triadic
#2FB862 #622FB8 #B8622F
tetradic
#2FB862 #2F40B8 #B82F85 #B8A62F
square
#2FB862 #2F40B8 #B82F85 #B8A62F
split-complementary
#2FB862 #A62FB8 #B82F40
monochromatic
#16572E #238748 #2FB862 #52D382 #82DFA5

Accessibility & contrast

On white

2.58
#2FB862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#2FB862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB862
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB862#FFFFFF#000000##000000
##2FB8621.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A85B
Deuteranopia (green-blind)
#A99D68
Tritanopia (blue-blind)
#00B5A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2fb862;
/* rgb */ color: rgb(47, 184, 98);
/* oklch */ color: oklch(69.1% 0.169 151.0);
Tailwind
colors: {
  custom: {
    50: '#7cce90',
    500: '#2fb862',
    950: '#000000',
  },
}
SCSS
$custom: #2fb862;
$custom-light: #7cce90;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb862",
  "rgb": {
    "r": 47,
    "g": 184,
    "b": 98
  },
  "hsl": {
    "h": 142.336,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69127,
    "c": 0.16908,
    "h": 151
  },
  "luminance": 0.35767
}

Semantic roles & 50–950 ramp

primary
#2FB862
secondary
#C87BAB
accent
#45A8E2
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #2FB862

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

Preview Lab → · Contrast checker → · Palette generator →

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