#2FB845#2FB845

#2FB845 is a light, vivid green. Relative luminance 0.353; OKLCH L 68.7% C 0.194 H 145.4°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2FB845
RGBrgb(47, 184, 69)
HSLhsl(130, 59%, 45%)
HSVhsv(130, 74%, 72%)
CMYKcmyk(74.5%, 0%, 62.5%, 27.8%)
CIE-LABlab(65.99, -59.09, 47.04)
CIE-LCHlch(65.99, 75.53, 141.48°)
OKLaboklab(68.73% -0.1594 0.1101)
OKLCHoklch(68.73% 0.194 145.4)
XYZxyz(19.3856, 35.3128, 11.4234)
Luminance0.3532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB845 #B82FA2
analogous
#5DB82F #2FB845 #2FB889
triadic
#2FB845 #452FB8 #B8452F
tetradic
#2FB845 #2F5DB8 #B82FA2 #B8892F
square
#2FB845 #2F5DB8 #B82FA2 #B8892F
split-complementary
#2FB845 #892FB8 #B82F5D
monochromatic
#165720 #238733 #2FB845 #52D366 #82DF91

Accessibility & contrast

On white

2.60
#2FB845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#2FB845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB845
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB845#FFFFFF#000000##000000
##2FB8451.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA738
Deuteranopia (green-blind)
#AB9C4F
Tritanopia (blue-blind)
#00B3A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #2fb845;
/* rgb */ color: rgb(47, 184, 69);
/* oklch */ color: oklch(68.7% 0.194 145.4);
Tailwind
colors: {
  custom: {
    50: '#7dce7d',
    500: '#2fb845',
    950: '#000000',
  },
}
SCSS
$custom: #2fb845;
$custom-light: #7dce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb845",
  "rgb": {
    "r": 47,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 129.635,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68725,
    "c": 0.19375,
    "h": 145.4
  },
  "luminance": 0.35315
}

Semantic roles & 50–950 ramp

primary
#2FB845
secondary
#C87BBC
accent
#45C9E2
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2FB845

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

Preview Lab → · Contrast checker → · Palette generator →

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