#2F941F#2F941F

#2F941F is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.6% C 0.177 H 141.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2F941F
RGBrgb(47, 148, 31)
HSLhsl(112, 65%, 35%)
HSVhsv(112, 79%, 58%)
CMYKcmyk(68.2%, 0%, 79.1%, 42%)
CIE-LABlab(53.90, -50.40, 49.44)
CIE-LCHlch(53.90, 70.61, 135.55°)
OKLaboklab(58.6% -0.1377 0.1105)
OKLCHoklch(58.6% 0.177 141.2)
XYZxyz(12.0089, 21.8818, 4.8868)
Luminance0.2188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F941F #841F94
analogous
#69941F #2F941F #1F944A
triadic
#2F941F #1F2F94 #941F2F
tetradic
#2F941F #1F6994 #841F94 #944A1F
square
#2F941F #1F6994 #841F94 #944A1F
split-complementary
#2F941F #4A1F94 #941F69
monochromatic
#0F2F0A #1F6114 #2F941F #3FC72A #65DB53

Accessibility & contrast

On white

3.91
#2F941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#2F941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F941F
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F941F#FFFFFF#000000##000000
##2F941F1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#1A8F7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f941f;
/* rgb */ color: rgb(47, 148, 31);
/* oklch */ color: oklch(58.6% 0.177 141.2);
Tailwind
colors: {
  custom: {
    50: '#77b464',
    500: '#2f941f',
    950: '#000000',
  },
}
SCSS
$custom: #2f941f;
$custom-light: #77b464;
$custom-dark: #000000;
JSON
{
  "hex": "#2f941f",
  "rgb": {
    "r": 47,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 111.795,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58604,
    "c": 0.17658,
    "h": 141.2
  },
  "luminance": 0.21883
}

Semantic roles & 50–950 ramp

primary
#2F941F
secondary
#AF51BE
accent
#3FE8D1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F941F

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

Preview Lab → · Contrast checker → · Palette generator →

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