#2F8432#2F8432

#2F8432 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.144 H 143.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2F8432
RGBrgb(47, 132, 50)
HSLhsl(122, 47%, 35%)
HSVhsv(122, 64%, 52%)
CMYKcmyk(64.4%, 0%, 62.1%, 48.2%)
CIE-LABlab(48.68, -42.76, 36.11)
CIE-LCHlch(48.68, 55.97, 139.82°)
OKLaboklab(54.33% -0.116 0.0848)
OKLCHoklch(54.33% 0.144 143.8)
XYZxyz(9.9987, 17.3362, 5.8363)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8432 #842F81
analogous
#56842F #2F8432 #2F845D
triadic
#2F8432 #322F84 #84322F
tetradic
#2F8432 #2F5684 #842F81 #845D2F
square
#2F8432 #2F5684 #842F81 #845D2F
split-complementary
#2F8432 #5D2F84 #842F56
monochromatic
#0F2A10 #1F5721 #2F8432 #3FB143 #65C869

Accessibility & contrast

On white

4.70
#2F8432 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2F8432 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8432
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8432#FFFFFF#000000##FFFFFF
##2F84321.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877829
Deuteranopia (green-blind)
#7C7139
Tritanopia (blue-blind)
#1D8072
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8432;
/* rgb */ color: rgb(47, 132, 50);
/* oklch */ color: oklch(54.3% 0.144 143.8);
Tailwind
colors: {
  custom: {
    50: '#72a96d',
    500: '#2f8432',
    950: '#000000',
  },
}
SCSS
$custom: #2f8432;
$custom-light: #72a96d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8432",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 50
  },
  "hsl": {
    "h": 122.118,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54332,
    "c": 0.14372,
    "h": 143.8
  },
  "luminance": 0.17337
}

Semantic roles & 50–950 ramp

primary
#2F8432
secondary
#AF60AC
accent
#51D2D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8432

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

Preview Lab → · Contrast checker → · Palette generator →

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