#2F8138#2F8138

#2F8138 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.134 H 145.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2F8138
RGBrgb(47, 129, 56)
HSLhsl(127, 47%, 35%)
HSVhsv(127, 64%, 51%)
CMYKcmyk(63.6%, 0%, 56.6%, 49.4%)
CIE-LABlab(47.74, -40.79, 32.01)
CIE-LCHlch(47.74, 51.85, 141.88°)
OKLaboklab(53.58% -0.1104 0.0765)
OKLCHoklch(53.58% 0.134 145.3)
XYZxyz(9.7357, 16.5894, 6.4296)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8138 #812F78
analogous
#4F812F #2F8138 #2F8161
triadic
#2F8138 #382F81 #81382F
tetradic
#2F8138 #2F4F81 #812F78 #81612F
square
#2F8138 #2F4F81 #812F78 #81612F
split-complementary
#2F8138 #612F81 #812F4F
monochromatic
#0E2711 #1F5425 #2F8138 #3FAE4B #64C66F

Accessibility & contrast

On white

4.86
#2F8138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2F8138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8138
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8138#FFFFFF#000000##FFFFFF
##2F81381.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837631
Deuteranopia (green-blind)
#796F3D
Tritanopia (blue-blind)
#1C7E71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8138;
/* rgb */ color: rgb(47, 129, 56);
/* oklch */ color: oklch(53.6% 0.134 145.3);
Tailwind
colors: {
  custom: {
    50: '#71a671',
    500: '#2f8138',
    950: '#000000',
  },
}
SCSS
$custom: #2f8138;
$custom-light: #71a671;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8138",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 126.585,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53577,
    "c": 0.13429,
    "h": 145.3
  },
  "luminance": 0.1659
}

Semantic roles & 50–950 ramp

primary
#2F8138
secondary
#AD5EA5
accent
#52C8D6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2F8138

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

Preview Lab → · Contrast checker → · Palette generator →

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