#2F8A39#2F8A39

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

Color values

HEX#2F8A39
RGBrgb(47, 138, 57)
HSLhsl(127, 49%, 36%)
HSVhsv(127, 66%, 54%)
CMYKcmyk(65.9%, 0%, 58.7%, 45.9%)
CIE-LABlab(50.78, -44.17, 35.12)
CIE-LCHlch(50.78, 56.43, 141.52°)
OKLaboklab(56.09% -0.1195 0.0833)
OKLCHoklch(56.09% 0.146 145.1)
XYZxyz(10.9986, 19.0756, 6.9724)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A39 #8A2F80
analogous
#538A2F #2F8A39 #2F8A67
triadic
#2F8A39 #392F8A #8A392F
tetradic
#2F8A39 #2F538A #8A2F80 #8A672F
square
#2F8A39 #2F538A #8A2F80 #8A672F
split-complementary
#2F8A39 #672F8A #8A2F53
monochromatic
#102F13 #1F5C26 #2F8A39 #3FB84C #68CC73

Accessibility & contrast

On white

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

On black

4.82
#2F8A39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A39
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A39#FFFFFF#000000##000000
##2F8A391.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E31
Deuteranopia (green-blind)
#81763F
Tritanopia (blue-blind)
#188778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8a39;
/* rgb */ color: rgb(47, 138, 57);
/* oklch */ color: oklch(56.1% 0.146 145.1);
Tailwind
colors: {
  custom: {
    50: '#73ad72',
    500: '#2f8a39',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a39;
$custom-light: #73ad72;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a39",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 57
  },
  "hsl": {
    "h": 126.593,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56088,
    "c": 0.14569,
    "h": 145.1
  },
  "luminance": 0.19077
}

Semantic roles & 50–950 ramp

primary
#2F8A39
secondary
#B362AA
accent
#4FCAD9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8A39

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

Preview Lab → · Contrast checker → · Palette generator →

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