#2F942A#2F942A

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

Color values

HEX#2F942A
RGBrgb(47, 148, 42)
HSLhsl(117, 56%, 37%)
HSVhsv(117, 72%, 58%)
CMYKcmyk(68.2%, 0%, 71.6%, 42%)
CIE-LABlab(53.97, -49.54, 45.46)
CIE-LCHlch(53.97, 67.23, 137.46°)
OKLaboklab(58.69% -0.1348 0.1037)
OKLCHoklch(58.69% 0.17 142.4)
XYZxyz(12.1794, 21.9500, 5.7850)
Luminance0.2195 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F942A #8F2A94
analogous
#64942A #2F942A #2A945A
triadic
#2F942A #2A2F94 #942A2F
tetradic
#2F942A #2A6494 #8F2A94 #945A2A
square
#2F942A #2A6494 #8F2A94 #945A2A
split-complementary
#2F942A #5A2A94 #942A64
monochromatic
#11350F #20641C #2F942A #3EC438 #6AD365

Accessibility & contrast

On white

3.90
#2F942A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F942A#FFFFFF#000000##000000
##2F942A1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978619
Deuteranopia (green-blind)
#8B7E34
Tritanopia (blue-blind)
#17907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f942a;
/* rgb */ color: rgb(47, 148, 42);
/* oklch */ color: oklch(58.7% 0.170 142.4);
Tailwind
colors: {
  custom: {
    50: '#76b46a',
    500: '#2f942a',
    950: '#000000',
  },
}
SCSS
$custom: #2f942a;
$custom-light: #76b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f942a",
  "rgb": {
    "r": 47,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 117.17,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58688,
    "c": 0.17007,
    "h": 142.4
  },
  "luminance": 0.21951
}

Semantic roles & 50–950 ramp

primary
#2F942A
secondary
#B560B9
accent
#49DFD8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F942A

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

Preview Lab → · Contrast checker → · Palette generator →

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