#2F8640#2F8640

#2F8640 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.1% C 0.134 H 147.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2F8640
RGBrgb(47, 134, 64)
HSLhsl(132, 48%, 35%)
HSVhsv(132, 65%, 53%)
CMYKcmyk(64.9%, 0%, 52.2%, 47.5%)
CIE-LABlab(49.52, -41.59, 30.02)
CIE-LCHlch(49.52, 51.30, 144.18°)
OKLaboklab(55.08% -0.1123 0.0726)
OKLCHoklch(55.08% 0.134 147.1)
XYZxyz(10.6221, 18.0236, 7.7686)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8640 #862F75
analogous
#49862F #2F8640 #2F866B
triadic
#2F8640 #402F86 #86402F
tetradic
#2F8640 #2F4986 #862F75 #866B2F
square
#2F8640 #2F4986 #862F75 #866B2F
split-complementary
#2F8640 #6B2F86 #862F49
monochromatic
#0F2B15 #1F592A #2F8640 #3FB356 #66C979

Accessibility & contrast

On white

4.56
#2F8640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2F8640 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8640
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8640#FFFFFF#000000##000000
##2F86401.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A3A
Deuteranopia (green-blind)
#7D7345
Tritanopia (blue-blind)
#168376
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f8640;
/* rgb */ color: rgb(47, 134, 64);
/* oklch */ color: oklch(55.1% 0.134 147.1);
Tailwind
colors: {
  custom: {
    50: '#72aa76',
    500: '#2f8640',
    950: '#000000',
  },
}
SCSS
$custom: #2f8640;
$custom-light: #72aa76;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8640",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 64
  },
  "hsl": {
    "h": 131.724,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55084,
    "c": 0.13374,
    "h": 147.1
  },
  "luminance": 0.18025
}

Semantic roles & 50–950 ramp

primary
#2F8640
secondary
#B060A1
accent
#50BDD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8640

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

Preview Lab → · Contrast checker → · Palette generator →

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