#2F8232#2F8232

#2F8232 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.141 H 143.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2F8232
RGBrgb(47, 130, 50)
HSLhsl(122, 47%, 35%)
HSVhsv(122, 64%, 51%)
CMYKcmyk(63.8%, 0%, 61.5%, 49%)
CIE-LABlab(48.01, -41.99, 35.33)
CIE-LCHlch(48.01, 54.88, 139.92°)
OKLaboklab(53.77% -0.1139 0.0832)
OKLCHoklch(53.77% 0.141 143.9)
XYZxyz(9.7301, 16.7990, 5.7468)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8232 #822F7F
analogous
#55822F #2F8232 #2F825C
triadic
#2F8232 #322F82 #82322F
tetradic
#2F8232 #2F5582 #822F7F #825C2F
square
#2F8232 #2F5582 #822F7F #825C2F
split-complementary
#2F8232 #5C2F82 #822F55
monochromatic
#0E280F #1F5521 #2F8232 #3FAF43 #64C768

Accessibility & contrast

On white

4.82
#2F8232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2F8232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8232
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8232#FFFFFF#000000##FFFFFF
##2F82321.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85762A
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#1E7E71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8232;
/* rgb */ color: rgb(47, 130, 50);
/* oklch */ color: oklch(53.8% 0.141 143.9);
Tailwind
colors: {
  custom: {
    50: '#72a76d',
    500: '#2f8232',
    950: '#000000',
  },
}
SCSS
$custom: #2f8232;
$custom-light: #72a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8232",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 122.169,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53775,
    "c": 0.14103,
    "h": 143.9
  },
  "luminance": 0.168
}

Semantic roles & 50–950 ramp

primary
#2F8232
secondary
#AE5FAB
accent
#51D2D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F8232

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

Preview Lab → · Contrast checker → · Palette generator →

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