#2F9721#2F9721

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

Color values

HEX#2F9721
RGBrgb(47, 151, 33)
HSLhsl(113, 64%, 36%)
HSVhsv(113, 78%, 59%)
CMYKcmyk(68.9%, 0%, 78.1%, 40.8%)
CIE-LABlab(54.91, -51.31, 49.75)
CIE-LCHlch(54.91, 71.47, 135.88°)
OKLaboklab(59.45% -0.14 0.1115)
OKLCHoklch(59.45% 0.179 141.5)
XYZxyz(12.5127, 22.8461, 5.1889)
Luminance0.2285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9721 #892197
analogous
#6A9721 #2F9721 #21974E
triadic
#2F9721 #212F97 #97212F
tetradic
#2F9721 #216A97 #892197 #974E21
square
#2F9721 #216A97 #892197 #974E21
split-complementary
#2F9721 #4E2197 #97216A
monochromatic
#10330B #1F6516 #2F9721 #3FC92C #67DA58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9721#FFFFFF#000000##000000
##2F97211.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)
#9B8803
Deuteranopia (green-blind)
#8F802E
Tritanopia (blue-blind)
#189281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f9721;
/* rgb */ color: rgb(47, 151, 33);
/* oklch */ color: oklch(59.4% 0.179 141.5);
Tailwind
colors: {
  custom: {
    50: '#77b766',
    500: '#2f9721',
    950: '#000000',
  },
}
SCSS
$custom: #2f9721;
$custom-light: #77b766;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9721",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 112.881,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59447,
    "c": 0.17898,
    "h": 141.5
  },
  "luminance": 0.22847
}

Semantic roles & 50–950 ramp

primary
#2F9721
secondary
#B255BE
accent
#41E7D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F9721

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

Preview Lab → · Contrast checker → · Palette generator →

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