#2F8A3B#2F8A3B

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

Color values

HEX#2F8A3B
RGBrgb(47, 138, 59)
HSLhsl(128, 49%, 36%)
HSVhsv(128, 66%, 54%)
CMYKcmyk(65.9%, 0%, 57.2%, 45.9%)
CIE-LABlab(50.80, -43.90, 34.14)
CIE-LCHlch(50.80, 55.62, 142.13°)
OKLaboklab(56.12% -0.1187 0.0814)
OKLCHoklch(56.12% 0.144 145.6)
XYZxyz(11.0495, 19.0959, 7.2404)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A3B #8A2F7E
analogous
#518A2F #2F8A3B #2F8A69
triadic
#2F8A3B #3B2F8A #8A3B2F
tetradic
#2F8A3B #2F518A #8A2F7E #8A692F
square
#2F8A3B #2F518A #8A2F7E #8A692F
split-complementary
#2F8A3B #692F8A #8A2F51
monochromatic
#102F14 #1F5C27 #2F8A3B #3FB84F #68CC75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8A3B#FFFFFF#000000##000000
##2F8A3B1.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)
#8C7E33
Deuteranopia (green-blind)
#817641
Tritanopia (blue-blind)
#178778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8a3b;
/* rgb */ color: rgb(47, 138, 59);
/* oklch */ color: oklch(56.1% 0.144 145.6);
Tailwind
colors: {
  custom: {
    50: '#73ad73',
    500: '#2f8a3b',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a3b;
$custom-light: #73ad73;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a3b",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 59
  },
  "hsl": {
    "h": 127.912,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56115,
    "c": 0.14391,
    "h": 145.6
  },
  "luminance": 0.19097
}

Semantic roles & 50–950 ramp

primary
#2F8A3B
secondary
#B362A8
accent
#4FC7D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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