#2F942B#2F942B

#2F942B is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.7% C 0.169 H 142.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2F942B
RGBrgb(47, 148, 43)
HSLhsl(118, 55%, 37%)
HSVhsv(118, 71%, 58%)
CMYKcmyk(68.2%, 0%, 70.9%, 42%)
CIE-LABlab(53.98, -49.44, 45.06)
CIE-LCHlch(53.98, 66.90, 137.66°)
OKLaboklab(58.7% -0.1345 0.103)
OKLCHoklch(58.7% 0.169 142.5)
XYZxyz(12.1975, 21.9573, 5.8804)
Luminance0.2196 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F942B #902B94
analogous
#64942B #2F942B #2B945B
triadic
#2F942B #2B2F94 #942B2F
tetradic
#2F942B #2B6494 #902B94 #945B2B
square
#2F942B #2B6494 #902B94 #945B2B
split-complementary
#2F942B #5B2B94 #942B64
monochromatic
#11350F #20651D #2F942B #3EC339 #6BD367

Accessibility & contrast

On white

3.89
#2F942B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#2F942B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F942B
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F942B#FFFFFF#000000##000000
##2F942B1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861B
Deuteranopia (green-blind)
#8B7E35
Tritanopia (blue-blind)
#17907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f942b;
/* rgb */ color: rgb(47, 148, 43);
/* oklch */ color: oklch(58.7% 0.169 142.5);
Tailwind
colors: {
  custom: {
    50: '#76b46a',
    500: '#2f942b',
    950: '#000000',
  },
}
SCSS
$custom: #2f942b;
$custom-light: #76b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f942b",
  "rgb": {
    "r": 47,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 117.714,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58696,
    "c": 0.1694,
    "h": 142.5
  },
  "luminance": 0.21959
}

Semantic roles & 50–950 ramp

primary
#2F942B
secondary
#B662B9
accent
#49DED9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F942B

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

Preview Lab → · Contrast checker → · Palette generator →

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