#2F8120#2F8120

#2F8120 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.153 H 140.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F8120
RGBrgb(47, 129, 32)
HSLhsl(111, 60%, 32%)
HSVhsv(111, 75%, 51%)
CMYKcmyk(63.6%, 0%, 75.2%, 49.4%)
CIE-LABlab(47.51, -43.47, 42.76)
CIE-LCHlch(47.51, 60.98, 135.47°)
OKLaboklab(53.31% -0.1189 0.0967)
OKLCHoklch(53.31% 0.153 140.9)
XYZxyz(9.2828, 16.4083, 4.0441)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8120 #722081
analogous
#608120 #2F8120 #208142
triadic
#2F8120 #202F81 #81202F
tetradic
#2F8120 #206081 #722081 #814220
square
#2F8120 #206081 #722081 #814220
split-complementary
#2F8120 #422081 #812060
monochromatic
#0B1F08 #1D5014 #2F8120 #41B22C #5FD249

Accessibility & contrast

On white

4.90
#2F8120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2F8120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8120
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8120#FFFFFF#000000##FFFFFF
##2F81201.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750E
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#227D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8120;
/* rgb */ color: rgb(47, 129, 32);
/* oklch */ color: oklch(53.3% 0.153 140.9);
Tailwind
colors: {
  custom: {
    50: '#72a662',
    500: '#2f8120',
    950: '#000000',
  },
}
SCSS
$custom: #2f8120;
$custom-light: #72a662;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8120",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 110.722,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5331,
    "c": 0.15331,
    "h": 140.9
  },
  "luminance": 0.16409
}

Semantic roles & 50–950 ramp

primary
#2F8120
secondary
#A349B4
accent
#44E3CB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2F8120

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

Preview Lab → · Contrast checker → · Palette generator →

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