#2F832F#2F832F

#2F832F is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.145 H 143.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2F832F
RGBrgb(47, 131, 47)
HSLhsl(120, 47%, 35%)
HSVhsv(120, 64%, 51%)
CMYKcmyk(64.1%, 0%, 64.1%, 48.6%)
CIE-LABlab(48.31, -42.74, 37.12)
CIE-LCHlch(48.31, 56.61, 139.02°)
OKLaboklab(54.02% -0.1161 0.0867)
OKLCHoklch(54.02% 0.145 143.2)
XYZxyz(9.8011, 17.0412, 5.4615)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F832F #832F83
analogous
#59832F #2F832F #2F8359
triadic
#2F832F #2F2F83 #832F2F
tetradic
#2F832F #2F5983 #832F83 #83592F
square
#2F832F #2F5983 #832F83 #83592F
split-complementary
#2F832F #592F83 #832F59
monochromatic
#0F290F #1F561F #2F832F #3FB03F #65C865

Accessibility & contrast

On white

4.76
#2F832F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2F832F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F832F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F832F#FFFFFF#000000##FFFFFF
##2F832F1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867725
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#1E7F71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f832f;
/* rgb */ color: rgb(47, 131, 47);
/* oklch */ color: oklch(54.0% 0.145 143.2);
Tailwind
colors: {
  custom: {
    50: '#72a86b',
    500: '#2f832f',
    950: '#000000',
  },
}
SCSS
$custom: #2f832f;
$custom-light: #72a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f832f",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54018,
    "c": 0.1449,
    "h": 143.2
  },
  "luminance": 0.17042
}

Semantic roles & 50–950 ramp

primary
#2F832F
secondary
#AF5FAF
accent
#51D7D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F832F

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

Preview Lab → · Contrast checker → · Palette generator →

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