#2F9221#2F9221

#2F9221 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.1% C 0.173 H 141.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2F9221
RGBrgb(47, 146, 33)
HSLhsl(113, 63%, 35%)
HSVhsv(113, 77%, 57%)
CMYKcmyk(67.8%, 0%, 77.4%, 42.7%)
CIE-LABlab(53.24, -49.57, 48.12)
CIE-LCHlch(53.24, 69.08, 135.85°)
OKLaboklab(58.06% -0.1353 0.1081)
OKLCHoklch(58.06% 0.173 141.4)
XYZxyz(11.7251, 21.2707, 4.9263)
Luminance0.2127 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9221 #842192
analogous
#689221 #2F9221 #21924B
triadic
#2F9221 #212F92 #92212F
tetradic
#2F9221 #216892 #842192 #924B21
square
#2F9221 #216892 #842192 #924B21
split-complementary
#2F9221 #4B2192 #922168
monochromatic
#0F2E0A #1F6016 #2F9221 #3FC42C #65D955

Accessibility & contrast

On white

4.00
#2F9221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#2F9221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9221
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9221#FFFFFF#000000##000000
##2F92211.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968407
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#1B8D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2f9221;
/* rgb */ color: rgb(47, 146, 33);
/* oklch */ color: oklch(58.1% 0.173 141.4);
Tailwind
colors: {
  custom: {
    50: '#76b365',
    500: '#2f9221',
    950: '#000000',
  },
}
SCSS
$custom: #2f9221;
$custom-light: #76b365;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9221",
  "rgb": {
    "r": 47,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 112.566,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58063,
    "c": 0.17319,
    "h": 141.4
  },
  "luminance": 0.21272
}

Semantic roles & 50–950 ramp

primary
#2F9221
secondary
#AF53BC
accent
#42E6D2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F9221

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

Preview Lab → · Contrast checker → · Palette generator →

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