#2F9339#2F9339

#2F9339 is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.6% C 0.158 H 144.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2F9339
RGBrgb(47, 147, 57)
HSLhsl(126, 52%, 38%)
HSVhsv(126, 68%, 58%)
CMYKcmyk(68%, 0%, 61.2%, 42.4%)
CIE-LABlab(53.78, -47.56, 38.61)
CIE-LCHlch(53.78, 61.26, 140.93°)
OKLaboklab(58.57% -0.1287 0.0909)
OKLCHoklch(58.57% 0.158 144.8)
XYZxyz(12.3437, 21.7659, 7.4208)
Luminance0.2177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9339 #932F89
analogous
#57932F #2F9339 #2F936B
triadic
#2F9339 #392F93 #93392F
tetradic
#2F9339 #2F5793 #932F89 #936B2F
square
#2F9339 #2F5793 #932F89 #936B2F
split-complementary
#2F9339 #6B2F93 #932F57
monochromatic
#113615 #206527 #2F9339 #3EC14B #6CD076

Accessibility & contrast

On white

3.92
#2F9339 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#2F9339 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9339
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9339#FFFFFF#000000##000000
##2F93391.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96862F
Deuteranopia (green-blind)
#8A7D40
Tritanopia (blue-blind)
#128F80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f9339;
/* rgb */ color: rgb(47, 147, 57);
/* oklch */ color: oklch(58.6% 0.158 144.8);
Tailwind
colors: {
  custom: {
    50: '#75b473',
    500: '#2f9339',
    950: '#000000',
  },
}
SCSS
$custom: #2f9339;
$custom-light: #75b473;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9339",
  "rgb": {
    "r": 47,
    "g": 147,
    "b": 57
  },
  "hsl": {
    "h": 126,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58569,
    "c": 0.15753,
    "h": 144.8
  },
  "luminance": 0.21767
}

Semantic roles & 50–950 ramp

primary
#2F9339
secondary
#B766AF
accent
#4DCDDB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2F9339

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

Preview Lab → · Contrast checker → · Palette generator →

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