#2F9C42#2F9C42

#2F9C42 is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.1% C 0.162 H 146.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2F9C42
RGBrgb(47, 156, 66)
HSLhsl(130, 54%, 40%)
HSVhsv(130, 70%, 61%)
CMYKcmyk(69.9%, 0%, 57.7%, 38.8%)
CIE-LABlab(56.85, -49.69, 37.86)
CIE-LCHlch(56.85, 62.48, 142.69°)
OKLaboklab(61.15% -0.1341 0.09)
OKLCHoklch(61.15% 0.162 146.1)
XYZxyz(14.0432, 24.7731, 9.1948)
Luminance0.2477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9C42 #9C2F89
analogous
#529C2F #2F9C42 #2F9C79
triadic
#2F9C42 #422F9C #9C422F
tetradic
#2F9C42 #2F529C #9C2F89 #9C792F
square
#2F9C42 #2F529C #9C2F89 #9C792F
split-complementary
#2F9C42 #792F9C #9C2F52
monochromatic
#133E1A #216D2E #2F9C42 #42C659 #71D482

Accessibility & contrast

On white

3.53
#2F9C42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#2F9C42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9C42
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9C42#FFFFFF#000000##000000
##2F9C421.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8E39
Deuteranopia (green-blind)
#918549
Tritanopia (blue-blind)
#019888
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2f9c42;
/* rgb */ color: rgb(47, 156, 66);
/* oklch */ color: oklch(61.1% 0.162 146.1);
Tailwind
colors: {
  custom: {
    50: '#77ba79',
    500: '#2f9c42',
    950: '#000000',
  },
}
SCSS
$custom: #2f9c42;
$custom-light: #77ba79;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9c42",
  "rgb": {
    "r": 47,
    "g": 156,
    "b": 66
  },
  "hsl": {
    "h": 130.459,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61146,
    "c": 0.16152,
    "h": 146.1
  },
  "luminance": 0.24775
}

Semantic roles & 50–950 ramp

primary
#2F9C42
secondary
#BC6BAE
accent
#4BC4DD
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2F9C42

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

Preview Lab → · Contrast checker → · Palette generator →

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