#2FA152#2FA152

#2FA152 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.154 H 149.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2FA152
RGBrgb(47, 161, 82)
HSLhsl(138, 55%, 41%)
HSVhsv(138, 71%, 63%)
CMYKcmyk(70.8%, 0%, 49.1%, 36.9%)
CIE-LABlab(58.70, -49.16, 32.05)
CIE-LCHlch(58.70, 58.68, 146.90°)
OKLaboklab(62.74% -0.1324 0.0781)
OKLCHoklch(62.74% 0.154 149.5)
XYZxyz(15.4389, 26.7016, 12.3213)
Luminance0.2670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA152 #A12F7E
analogous
#45A12F #2FA152 #2FA18B
triadic
#2FA152 #522FA1 #A1522F
tetradic
#2FA152 #2F45A1 #A12F7E #A18B2F
square
#2FA152 #2F45A1 #A12F7E #A18B2F
split-complementary
#2FA152 #8B2FA1 #A12F45
monochromatic
#134222 #21723A #2FA152 #45C96D #74D692

Accessibility & contrast

On white

3.31
#2FA152 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#2FA152 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA152
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA152#FFFFFF#000000##000000
##2FA1521.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2934C
Deuteranopia (green-blind)
#948958
Tritanopia (blue-blind)
#009E8E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2fa152;
/* rgb */ color: rgb(47, 161, 82);
/* oklch */ color: oklch(62.7% 0.154 149.5);
Tailwind
colors: {
  custom: {
    50: '#77be84',
    500: '#2fa152',
    950: '#000000',
  },
}
SCSS
$custom: #2fa152;
$custom-light: #77be84;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa152",
  "rgb": {
    "r": 47,
    "g": 161,
    "b": 82
  },
  "hsl": {
    "h": 138.421,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.62736,
    "c": 0.15367,
    "h": 149.5
  },
  "luminance": 0.26703
}

Semantic roles & 50–950 ramp

primary
#2FA152
secondary
#BE6EA5
accent
#4AB1DE
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #2FA152

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

Preview Lab → · Contrast checker → · Palette generator →

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