#2F942E#2F942E

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

Color values

HEX#2F942E
RGBrgb(47, 148, 46)
HSLhsl(119, 53%, 38%)
HSVhsv(119, 69%, 58%)
CMYKcmyk(68.2%, 0%, 68.9%, 42%)
CIE-LABlab(54.01, -49.16, 43.83)
CIE-LCHlch(54.01, 65.86, 138.27°)
OKLaboklab(58.72% -0.1335 0.1008)
OKLCHoklch(58.72% 0.167 142.9)
XYZxyz(12.2546, 21.9801, 6.1810)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F942E #932E94
analogous
#62942E #2F942E #2E9460
triadic
#2F942E #2E2F94 #942E2F
tetradic
#2F942E #2E6294 #932E94 #94602E
square
#2F942E #2E6294 #932E94 #94602E
split-complementary
#2F942E #602E94 #942E62
monochromatic
#113711 #20651F #2F942E #3EC33D #6CD16B

Accessibility & contrast

On white

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

On black

5.40
#2F942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F942E
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F942E#FFFFFF#000000##000000
##2F942E1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978620
Deuteranopia (green-blind)
#8B7E37
Tritanopia (blue-blind)
#16907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f942e;
/* rgb */ color: rgb(47, 148, 46);
/* oklch */ color: oklch(58.7% 0.167 142.9);
Tailwind
colors: {
  custom: {
    50: '#76b46c',
    500: '#2f942e',
    950: '#000000',
  },
}
SCSS
$custom: #2f942e;
$custom-light: #76b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f942e",
  "rgb": {
    "r": 47,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 119.412,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58724,
    "c": 0.16732,
    "h": 142.9
  },
  "luminance": 0.21981
}

Semantic roles & 50–950 ramp

primary
#2F942E
secondary
#B766B8
accent
#4CDCDB
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F942E

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

Preview Lab → · Contrast checker → · Palette generator →

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