#2F8720#2F8720

#2F8720 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.161 H 141.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F8720
RGBrgb(47, 135, 32)
HSLhsl(111, 62%, 33%)
HSVhsv(111, 76%, 53%)
CMYKcmyk(65.2%, 0%, 76.3%, 47.1%)
CIE-LABlab(49.54, -45.70, 44.81)
CIE-LCHlch(49.54, 64.00, 135.56°)
OKLaboklab(54.99% -0.1249 0.101)
OKLCHoklch(54.99% 0.161 141)
XYZxyz(10.0965, 18.0356, 4.3154)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8720 #782087
analogous
#638720 #2F8720 #208744
triadic
#2F8720 #202F87 #87202F
tetradic
#2F8720 #206387 #782087 #874420
square
#2F8720 #206387 #782087 #874420
split-complementary
#2F8720 #442087 #872063
monochromatic
#0D2409 #1E5614 #2F8720 #40B82C #60D54D

Accessibility & contrast

On white

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

On black

4.61
#2F8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8720
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8720#FFFFFF#000000##000000
##2F87201.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0B
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#208373
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f8720;
/* rgb */ color: rgb(47, 135, 32);
/* oklch */ color: oklch(55.0% 0.161 141.0);
Tailwind
colors: {
  custom: {
    50: '#74ab63',
    500: '#2f8720',
    950: '#000000',
  },
}
SCSS
$custom: #2f8720;
$custom-light: #74ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8720",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 111.262,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54992,
    "c": 0.16067,
    "h": 141
  },
  "luminance": 0.18037
}

Semantic roles & 50–950 ramp

primary
#2F8720
secondary
#A84BB8
accent
#43E5CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8720

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

Preview Lab → · Contrast checker → · Palette generator →

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