#2F8839#2F8839

#2F8839 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.5% C 0.143 H 145.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2F8839
RGBrgb(47, 136, 57)
HSLhsl(127, 49%, 36%)
HSVhsv(127, 65%, 53%)
CMYKcmyk(65.4%, 0%, 58.1%, 46.7%)
CIE-LABlab(50.11, -43.40, 34.32)
CIE-LCHlch(50.11, 55.33, 141.66°)
OKLaboklab(55.53% -0.1174 0.0816)
OKLCHoklch(55.53% 0.143 145.2)
XYZxyz(10.7143, 18.5070, 6.8777)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8839 #882F7E
analogous
#51882F #2F8839 #2F8865
triadic
#2F8839 #392F88 #88392F
tetradic
#2F8839 #2F5188 #882F7E #88652F
square
#2F8839 #2F5188 #882F7E #88652F
split-complementary
#2F8839 #652F88 #882F51
monochromatic
#102D13 #1F5B26 #2F8839 #3FB54C #67CA72

Accessibility & contrast

On white

4.47
#2F8839 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2F8839 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8839
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8839#FFFFFF#000000##000000
##2F88391.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C31
Deuteranopia (green-blind)
#7F743F
Tritanopia (blue-blind)
#198576
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8839;
/* rgb */ color: rgb(47, 136, 57);
/* oklch */ color: oklch(55.5% 0.143 145.2);
Tailwind
colors: {
  custom: {
    50: '#73ab72',
    500: '#2f8839',
    950: '#000000',
  },
}
SCSS
$custom: #2f8839;
$custom-light: #73ab72;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8839",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 57
  },
  "hsl": {
    "h": 126.742,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55534,
    "c": 0.14299,
    "h": 145.2
  },
  "luminance": 0.18508
}

Semantic roles & 50–950 ramp

primary
#2F8839
secondary
#B161A8
accent
#50C9D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8839

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

Preview Lab → · Contrast checker → · Palette generator →

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