#2F912F#2F912F

#2F912F is a mid, vivid green. Relative luminance 0.211; OKLCH L 57.9% C 0.163 H 143.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2F912F
RGBrgb(47, 145, 47)
HSLhsl(120, 51%, 38%)
HSVhsv(120, 68%, 57%)
CMYKcmyk(67.6%, 0%, 67.6%, 43.1%)
CIE-LABlab(53.01, -47.97, 42.33)
CIE-LCHlch(53.01, 63.98, 138.57°)
OKLaboklab(57.91% -0.1303 0.0978)
OKLCHoklch(57.91% 0.163 143.1)
XYZxyz(11.8101, 21.0592, 6.1312)
Luminance0.2106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F912F #912F91
analogous
#60912F #2F912F #2F9160
triadic
#2F912F #2F2F91 #912F2F
tetradic
#2F912F #2F6091 #912F91 #91602F
square
#2F912F #2F6091 #912F91 #91602F
split-complementary
#2F912F #602F91 #912F60
monochromatic
#113511 #206320 #2F912F #3EBF3E #6BCF6B

Accessibility & contrast

On white

4.03
#2F912F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#2F912F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F912F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F912F#FFFFFF#000000##000000
##2F912F1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948322
Deuteranopia (green-blind)
#887B38
Tritanopia (blue-blind)
#188D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2f912f;
/* rgb */ color: rgb(47, 145, 47);
/* oklch */ color: oklch(57.9% 0.163 143.1);
Tailwind
colors: {
  custom: {
    50: '#75b26c',
    500: '#2f912f',
    950: '#000000',
  },
}
SCSS
$custom: #2f912f;
$custom-light: #75b26c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f912f",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57906,
    "c": 0.16288,
    "h": 143.1
  },
  "luminance": 0.2106
}

Semantic roles & 50–950 ramp

primary
#2F912F
secondary
#B665B6
accent
#4DDBDB
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F912F

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

Preview Lab → · Contrast checker → · Palette generator →

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