#2F8840#2F8840

#2F8840 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.137 H 147.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2F8840
RGBrgb(47, 136, 64)
HSLhsl(131, 49%, 36%)
HSVhsv(131, 65%, 53%)
CMYKcmyk(65.4%, 0%, 52.9%, 46.7%)
CIE-LABlab(50.19, -42.39, 30.85)
CIE-LCHlch(50.19, 52.43, 143.96°)
OKLaboklab(55.64% -0.1145 0.0744)
OKLCHoklch(55.64% 0.137 147)
XYZxyz(10.9011, 18.5817, 7.8616)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8840 #882F77
analogous
#4A882F #2F8840 #2F886C
triadic
#2F8840 #402F88 #88402F
tetradic
#2F8840 #2F4A88 #882F77 #886C2F
square
#2F8840 #2F4A88 #882F77 #886C2F
split-complementary
#2F8840 #6C2F88 #882F4A
monochromatic
#102D15 #1F5B2B #2F8840 #3FB555 #67CA7A

Accessibility & contrast

On white

4.45
#2F8840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2F8840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8840
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8840#FFFFFF#000000##000000
##2F88401.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C3A
Deuteranopia (green-blind)
#7F7445
Tritanopia (blue-blind)
#158577
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8840;
/* rgb */ color: rgb(47, 136, 64);
/* oklch */ color: oklch(55.6% 0.137 147.0);
Tailwind
colors: {
  custom: {
    50: '#72ab76',
    500: '#2f8840',
    950: '#000000',
  },
}
SCSS
$custom: #2f8840;
$custom-light: #72ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8840",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 64
  },
  "hsl": {
    "h": 131.461,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55636,
    "c": 0.13654,
    "h": 147
  },
  "luminance": 0.18583
}

Semantic roles & 50–950 ramp

primary
#2F8840
secondary
#B161A2
accent
#50BED8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8840

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

Preview Lab → · Contrast checker → · Palette generator →

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