#2FB742#2FB742

#2FB742 is a light, vivid green. Relative luminance 0.349; OKLCH L 68.4% C 0.195 H 145.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2FB742
RGBrgb(47, 183, 66)
HSLhsl(128, 59%, 45%)
HSVhsv(128, 74%, 72%)
CMYKcmyk(74.3%, 0%, 63.9%, 28.2%)
CIE-LABlab(65.64, -59.10, 47.96)
CIE-LCHlch(65.64, 76.11, 140.94°)
OKLaboklab(68.43% -0.1596 0.1117)
OKLCHoklch(68.43% 0.195 145)
XYZxyz(19.0878, 34.8625, 10.8764)
Luminance0.3487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB742 #B72FA4
analogous
#60B72F #2FB742 #2FB786
triadic
#2FB742 #422FB7 #B7422F
tetradic
#2FB742 #2F60B7 #B72FA4 #B7862F
square
#2FB742 #2F60B7 #B72FA4 #B7862F
split-complementary
#2FB742 #862FB7 #B72F60
monochromatic
#16561F #228630 #2FB742 #51D263 #82DF8F

Accessibility & contrast

On white

2.63
#2FB742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#2FB742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB742
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB742#FFFFFF#000000##000000
##2FB7421.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA634
Deuteranopia (green-blind)
#AB9B4C
Tritanopia (blue-blind)
#00B29E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #2fb742;
/* rgb */ color: rgb(47, 183, 66);
/* oklch */ color: oklch(68.4% 0.195 145.0);
Tailwind
colors: {
  custom: {
    50: '#7dce7b',
    500: '#2fb742',
    950: '#000000',
  },
}
SCSS
$custom: #2fb742;
$custom-light: #7dce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb742",
  "rgb": {
    "r": 47,
    "g": 183,
    "b": 66
  },
  "hsl": {
    "h": 128.382,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68426,
    "c": 0.19481,
    "h": 145
  },
  "luminance": 0.34865
}

Semantic roles & 50–950 ramp

primary
#2FB742
secondary
#C87ABD
accent
#45CCE2
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2FB742

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

Preview Lab → · Contrast checker → · Palette generator →

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