#2F8339#2F8339

#2F8339 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.136 H 145.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2F8339
RGBrgb(47, 131, 57)
HSLhsl(127, 47%, 35%)
HSVhsv(127, 64%, 51%)
CMYKcmyk(64.1%, 0%, 56.5%, 48.6%)
CIE-LABlab(48.43, -41.44, 32.32)
CIE-LCHlch(48.43, 52.56, 142.05°)
OKLaboklab(54.15% -0.1121 0.0772)
OKLCHoklch(54.15% 0.136 145.5)
XYZxyz(10.0265, 17.1314, 6.6484)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8339 #832F79
analogous
#4F832F #2F8339 #2F8363
triadic
#2F8339 #392F83 #83392F
tetradic
#2F8339 #2F4F83 #832F79 #83632F
square
#2F8339 #2F4F83 #832F79 #83632F
split-complementary
#2F8339 #632F83 #832F4F
monochromatic
#0F2912 #1F5625 #2F8339 #3FB04D #65C871

Accessibility & contrast

On white

4.74
#2F8339 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2F8339 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8339
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8339#FFFFFF#000000##FFFFFF
##2F83391.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857732
Deuteranopia (green-blind)
#7B703F
Tritanopia (blue-blind)
#1B8072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8339;
/* rgb */ color: rgb(47, 131, 57);
/* oklch */ color: oklch(54.1% 0.136 145.5);
Tailwind
colors: {
  custom: {
    50: '#72a871',
    500: '#2f8339',
    950: '#000000',
  },
}
SCSS
$custom: #2f8339;
$custom-light: #72a871;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8339",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 57
  },
  "hsl": {
    "h": 127.143,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54148,
    "c": 0.13614,
    "h": 145.5
  },
  "luminance": 0.17132
}

Semantic roles & 50–950 ramp

primary
#2F8339
secondary
#AF5FA5
accent
#51C7D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2F8339

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

Preview Lab → · Contrast checker → · Palette generator →

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