#2F8330#2F8330

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

Color values

HEX#2F8330
RGBrgb(47, 131, 48)
HSLhsl(121, 47%, 35%)
HSVhsv(121, 64%, 51%)
CMYKcmyk(64.1%, 0%, 63.4%, 48.6%)
CIE-LABlab(48.32, -42.62, 36.66)
CIE-LCHlch(48.32, 56.22, 139.30°)
OKLaboklab(54.03% -0.1157 0.0858)
OKLCHoklch(54.03% 0.144 143.4)
XYZxyz(9.8215, 17.0494, 5.5690)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8330 #832F82
analogous
#58832F #2F8330 #2F835A
triadic
#2F8330 #302F83 #83302F
tetradic
#2F8330 #2F5883 #832F82 #835A2F
square
#2F8330 #2F5883 #832F82 #835A2F
split-complementary
#2F8330 #5A2F83 #832F58
monochromatic
#0F290F #1F561F #2F8330 #3FB041 #65C866

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8330#FFFFFF#000000##FFFFFF
##2F83301.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)
#867727
Deuteranopia (green-blind)
#7B7037
Tritanopia (blue-blind)
#1E7F71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8330;
/* rgb */ color: rgb(47, 131, 48);
/* oklch */ color: oklch(54.0% 0.144 143.4);
Tailwind
colors: {
  custom: {
    50: '#72a86c',
    500: '#2f8330',
    950: '#000000',
  },
}
SCSS
$custom: #2f8330;
$custom-light: #72a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8330",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 48
  },
  "hsl": {
    "h": 120.714,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.14408,
    "h": 143.4
  },
  "luminance": 0.1705
}

Semantic roles & 50–950 ramp

primary
#2F8330
secondary
#AF5FAE
accent
#51D5D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8330

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

Preview Lab → · Contrast checker → · Palette generator →

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