#2F9F22#2F9F22

#2F9F22 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.7% C 0.188 H 141.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2F9F22
RGBrgb(47, 159, 34)
HSLhsl(114, 65%, 38%)
HSVhsv(114, 79%, 62%)
CMYKcmyk(70.4%, 0%, 78.6%, 37.6%)
CIE-LABlab(57.57, -53.96, 52.00)
CIE-LCHlch(57.57, 74.94, 136.06°)
OKLaboklab(61.66% -0.1472 0.1163)
OKLCHoklch(61.66% 0.188 141.7)
XYZxyz(13.8584, 25.5146, 5.7075)
Luminance0.2552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9F22 #92229F
analogous
#6D9F22 #2F9F22 #229F53
triadic
#2F9F22 #222F9F #9F222F
tetradic
#2F9F22 #226D9F #92229F #9F5322
square
#2F9F22 #226D9F #92229F #9F5322
split-complementary
#2F9F22 #53229F #9F226D
monochromatic
#113A0C #206D17 #2F9F22 #3ED12D #6CDD5F

Accessibility & contrast

On white

3.44
#2F9F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#2F9F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9F22
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9F22#FFFFFF#000000##000000
##2F9F221.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#129A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2f9f22;
/* rgb */ color: rgb(47, 159, 34);
/* oklch */ color: oklch(61.7% 0.188 141.7);
Tailwind
colors: {
  custom: {
    50: '#79bc67',
    500: '#2f9f22',
    950: '#000000',
  },
}
SCSS
$custom: #2f9f22;
$custom-light: #79bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9f22",
  "rgb": {
    "r": 47,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 113.76,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61655,
    "c": 0.18757,
    "h": 141.7
  },
  "luminance": 0.25516
}

Semantic roles & 50–950 ramp

primary
#2F9F22
secondary
#B75BC1
accent
#40E8D6
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2F9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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