#2F8131#2F8131

#2F8131 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.141 H 143.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2F8131
RGBrgb(47, 129, 49)
HSLhsl(121, 47%, 35%)
HSVhsv(121, 64%, 51%)
CMYKcmyk(63.6%, 0%, 62%, 49.4%)
CIE-LABlab(47.66, -41.72, 35.42)
CIE-LCHlch(47.66, 54.73, 139.67°)
OKLaboklab(53.48% -0.1132 0.0833)
OKLCHoklch(53.48% 0.141 143.7)
XYZxyz(9.5764, 16.5257, 5.5902)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8131 #812F7F
analogous
#56812F #2F8131 #2F815A
triadic
#2F8131 #312F81 #81312F
tetradic
#2F8131 #2F5681 #812F7F #815A2F
square
#2F8131 #2F5681 #812F7F #815A2F
split-complementary
#2F8131 #5A2F81 #812F56
monochromatic
#0E270F #1F5420 #2F8131 #3FAE42 #64C666

Accessibility & contrast

On white

4.88
#2F8131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2F8131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8131
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8131#FFFFFF#000000##FFFFFF
##2F81311.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847528
Deuteranopia (green-blind)
#796E37
Tritanopia (blue-blind)
#1F7D70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8131;
/* rgb */ color: rgb(47, 129, 49);
/* oklch */ color: oklch(53.5% 0.141 143.7);
Tailwind
colors: {
  custom: {
    50: '#72a66c',
    500: '#2f8131',
    950: '#000000',
  },
}
SCSS
$custom: #2f8131;
$custom-light: #72a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8131",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 121.463,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53483,
    "c": 0.14055,
    "h": 143.7
  },
  "luminance": 0.16527
}

Semantic roles & 50–950 ramp

primary
#2F8131
secondary
#AD5EAB
accent
#52D3D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F8131

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

Preview Lab → · Contrast checker → · Palette generator →

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