#2F8A37#2F8A37

#2F8A37 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.147 H 144.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2F8A37
RGBrgb(47, 138, 55)
HSLhsl(125, 49%, 36%)
HSVhsv(125, 66%, 54%)
CMYKcmyk(65.9%, 0%, 60.1%, 45.9%)
CIE-LABlab(50.75, -44.44, 36.07)
CIE-LCHlch(50.75, 57.24, 140.93°)
OKLaboklab(56.06% -0.1203 0.0852)
OKLCHoklch(56.06% 0.147 144.7)
XYZxyz(10.9497, 19.0560, 6.7148)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A37 #8A2F82
analogous
#558A2F #2F8A37 #2F8A65
triadic
#2F8A37 #372F8A #8A372F
tetradic
#2F8A37 #2F558A #8A2F82 #8A652F
square
#2F8A37 #2F558A #8A2F82 #8A652F
split-complementary
#2F8A37 #652F8A #8A2F55
monochromatic
#102F13 #1F5C25 #2F8A37 #3FB849 #68CC71

Accessibility & contrast

On white

4.36
#2F8A37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2F8A37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A37
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A37#FFFFFF#000000##000000
##2F8A371.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E2E
Deuteranopia (green-blind)
#81763E
Tritanopia (blue-blind)
#188678
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8a37;
/* rgb */ color: rgb(47, 138, 55);
/* oklch */ color: oklch(56.1% 0.147 144.7);
Tailwind
colors: {
  custom: {
    50: '#73ad71',
    500: '#2f8a37',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a37;
$custom-light: #73ad71;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a37",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 55
  },
  "hsl": {
    "h": 125.275,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56061,
    "c": 0.14743,
    "h": 144.7
  },
  "luminance": 0.19057
}

Semantic roles & 50–950 ramp

primary
#2F8A37
secondary
#B362AB
accent
#4FCDD9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8A37

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

Preview Lab → · Contrast checker → · Palette generator →

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