#2F9722#2F9722

#2F9722 is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.178 H 141.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2F9722
RGBrgb(47, 151, 34)
HSLhsl(113, 63%, 36%)
HSVhsv(113, 77%, 59%)
CMYKcmyk(68.9%, 0%, 77.5%, 40.8%)
CIE-LABlab(54.92, -51.23, 49.42)
CIE-LCHlch(54.92, 71.18, 136.03°)
OKLaboklab(59.45% -0.1398 0.1109)
OKLCHoklch(59.45% 0.178 141.6)
XYZxyz(12.5270, 22.8517, 5.2637)
Luminance0.2285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9722 #8A2297
analogous
#6A9722 #2F9722 #229750
triadic
#2F9722 #222F97 #97222F
tetradic
#2F9722 #226A97 #8A2297 #975022
square
#2F9722 #226A97 #8A2297 #975022
split-complementary
#2F9722 #502297 #97226A
monochromatic
#10330C #1F6517 #2F9722 #3FC92D #68DA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9722#FFFFFF#000000##000000
##2F97221.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)
#9B8806
Deuteranopia (green-blind)
#8F802F
Tritanopia (blue-blind)
#189281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f9722;
/* rgb */ color: rgb(47, 151, 34);
/* oklch */ color: oklch(59.5% 0.178 141.6);
Tailwind
colors: {
  custom: {
    50: '#77b766',
    500: '#2f9722',
    950: '#000000',
  },
}
SCSS
$custom: #2f9722;
$custom-light: #77b766;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9722",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 113.333,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59454,
    "c": 0.17844,
    "h": 141.6
  },
  "luminance": 0.22853
}

Semantic roles & 50–950 ramp

primary
#2F9722
secondary
#B357BE
accent
#42E6D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F9722

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

Preview Lab → · Contrast checker → · Palette generator →

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