#2F9720#2F9720

#2F9720 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.180 H 141.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2F9720
RGBrgb(47, 151, 32)
HSLhsl(112, 65%, 36%)
HSVhsv(112, 79%, 59%)
CMYKcmyk(68.9%, 0%, 78.8%, 40.8%)
CIE-LABlab(54.91, -51.37, 50.08)
CIE-LCHlch(54.91, 71.75, 135.73°)
OKLaboklab(59.44% -0.1403 0.112)
OKLCHoklch(59.44% 0.18 141.4)
XYZxyz(12.4989, 22.8405, 5.1162)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9720 #882097
analogous
#6A9720 #2F9720 #20974C
triadic
#2F9720 #202F97 #97202F
tetradic
#2F9720 #206A97 #882097 #974C20
square
#2F9720 #206A97 #882097 #974C20
split-complementary
#2F9720 #4C2097 #97206A
monochromatic
#10320B #1F6415 #2F9720 #3FC92B #67DB56

Accessibility & contrast

On white

3.77
#2F9720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#2F9720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9720
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9720#FFFFFF#000000##000000
##2F97201.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8801
Deuteranopia (green-blind)
#8F802E
Tritanopia (blue-blind)
#189281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f9720;
/* rgb */ color: rgb(47, 151, 32);
/* oklch */ color: oklch(59.4% 0.180 141.4);
Tailwind
colors: {
  custom: {
    50: '#77b765',
    500: '#2f9720',
    950: '#000000',
  },
}
SCSS
$custom: #2f9720;
$custom-light: #77b765;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9720",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 112.437,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5944,
    "c": 0.17951,
    "h": 141.4
  },
  "luminance": 0.22842
}

Semantic roles & 50–950 ramp

primary
#2F9720
secondary
#B154BF
accent
#40E8D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F9720

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

Preview Lab → · Contrast checker → · Palette generator →

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