#2F912A#2F912A

#2F912A is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.9% C 0.166 H 142.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2F912A
RGBrgb(47, 145, 42)
HSLhsl(117, 55%, 37%)
HSVhsv(117, 71%, 57%)
CMYKcmyk(67.6%, 0%, 71%, 43.1%)
CIE-LABlab(52.97, -48.47, 44.41)
CIE-LCHlch(52.97, 65.73, 137.50°)
OKLaboklab(57.86% -0.1319 0.1015)
OKLCHoklch(57.86% 0.166 142.4)
XYZxyz(11.7149, 21.0211, 5.6301)
Luminance0.2102 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F912A #8C2A91
analogous
#63912A #2F912A #2A9159
triadic
#2F912A #2A2F91 #912A2F
tetradic
#2F912A #2A6391 #8C2A91 #91592A
square
#2F912A #2A6391 #8C2A91 #91592A
split-complementary
#2F912A #592A91 #912A63
monochromatic
#10320F #20621C #2F912A #3EC038 #69D263

Accessibility & contrast

On white

4.04
#2F912A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#2F912A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F912A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F912A#FFFFFF#000000##000000
##2F912A1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831A
Deuteranopia (green-blind)
#897B34
Tritanopia (blue-blind)
#198D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f912a;
/* rgb */ color: rgb(47, 145, 42);
/* oklch */ color: oklch(57.9% 0.166 142.4);
Tailwind
colors: {
  custom: {
    50: '#75b269',
    500: '#2f912a',
    950: '#000000',
  },
}
SCSS
$custom: #2f912a;
$custom-light: #75b269;
$custom-dark: #000000;
JSON
{
  "hex": "#2f912a",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 42
  },
  "hsl": {
    "h": 117.087,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57858,
    "c": 0.16643,
    "h": 142.4
  },
  "luminance": 0.21022
}

Semantic roles & 50–950 ramp

primary
#2F912A
secondary
#B45FB8
accent
#49DED7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F912A

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

Preview Lab → · Contrast checker → · Palette generator →

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