#2F8E32#2F8E32

#2F8E32 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.157 H 143.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2F8E32
RGBrgb(47, 142, 50)
HSLhsl(122, 50%, 37%)
HSVhsv(122, 67%, 56%)
CMYKcmyk(66.9%, 0%, 64.8%, 44.3%)
CIE-LABlab(52.04, -46.55, 39.91)
CIE-LCHlch(52.04, 61.32, 139.39°)
OKLaboklab(57.11% -0.1263 0.093)
OKLCHoklch(57.11% 0.157 143.6)
XYZxyz(11.4203, 20.1795, 6.3102)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E32 #8E2F8B
analogous
#5B8E2F #2F8E32 #2F8E62
triadic
#2F8E32 #322F8E #8E322F
tetradic
#2F8E32 #2F5B8E #8E2F8B #8E622F
square
#2F8E32 #2F5B8E #8E2F8B #8E622F
split-complementary
#2F8E32 #622F8E #8E2F5B
monochromatic
#113212 #206022 #2F8E32 #3EBC42 #6ACE6D

Accessibility & contrast

On white

4.17
#2F8E32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#2F8E32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E32
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E32#FFFFFF#000000##000000
##2F8E321.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918127
Deuteranopia (green-blind)
#85793A
Tritanopia (blue-blind)
#188A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e32;
/* rgb */ color: rgb(47, 142, 50);
/* oklch */ color: oklch(57.1% 0.157 143.6);
Tailwind
colors: {
  custom: {
    50: '#74b06e',
    500: '#2f8e32',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e32;
$custom-light: #74b06e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e32",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 50
  },
  "hsl": {
    "h": 121.895,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57108,
    "c": 0.1568,
    "h": 143.6
  },
  "luminance": 0.20181
}

Semantic roles & 50–950 ramp

primary
#2F8E32
secondary
#B564B2
accent
#4ED5DA
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F8E32

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

Preview Lab → · Contrast checker → · Palette generator →

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