#2F8820#2F8820

#2F8820 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.162 H 141.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2F8820
RGBrgb(47, 136, 32)
HSLhsl(111, 62%, 33%)
HSVhsv(111, 76%, 53%)
CMYKcmyk(65.4%, 0%, 76.5%, 46.7%)
CIE-LABlab(49.88, -46.06, 45.15)
CIE-LCHlch(49.88, 64.50, 135.58°)
OKLaboklab(55.27% -0.1259 0.1017)
OKLCHoklch(55.27% 0.162 141.1)
XYZxyz(10.2366, 18.3159, 4.3621)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8820 #792088
analogous
#638820 #2F8820 #208845
triadic
#2F8820 #202F88 #88202F
tetradic
#2F8820 #206388 #792088 #884520
square
#2F8820 #206388 #792088 #884520
split-complementary
#2F8820 #452088 #882063
monochromatic
#0D2509 #1E5614 #2F8820 #40BA2C #61D54D

Accessibility & contrast

On white

4.50
#2F8820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2F8820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8820
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8820#FFFFFF#000000##000000
##2F88201.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0B
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#208474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8820;
/* rgb */ color: rgb(47, 136, 32);
/* oklch */ color: oklch(55.3% 0.162 141.1);
Tailwind
colors: {
  custom: {
    50: '#74ac63',
    500: '#2f8820',
    950: '#000000',
  },
}
SCSS
$custom: #2f8820;
$custom-light: #74ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8820",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 111.346,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55272,
    "c": 0.16188,
    "h": 141.1
  },
  "luminance": 0.18317
}

Semantic roles & 50–950 ramp

primary
#2F8820
secondary
#A84CB8
accent
#43E5CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8820

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

Preview Lab → · Contrast checker → · Palette generator →

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