#2F9942#2F9942

#2F9942 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.3% C 0.158 H 146.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2F9942
RGBrgb(47, 153, 66)
HSLhsl(131, 53%, 39%)
HSVhsv(131, 69%, 60%)
CMYKcmyk(69.3%, 0%, 56.9%, 40%)
CIE-LABlab(55.87, -48.59, 36.69)
CIE-LCHlch(55.87, 60.89, 142.94°)
OKLaboklab(60.33% -0.1311 0.0874)
OKLCHoklch(60.33% 0.158 146.3)
XYZxyz(13.5460, 23.7787, 9.0291)
Luminance0.2378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9942 #992F86
analogous
#51992F #2F9942 #2F9977
triadic
#2F9942 #422F99 #99422F
tetradic
#2F9942 #2F5199 #992F86 #99772F
square
#2F9942 #2F5199 #992F86 #99772F
split-complementary
#2F9942 #772F99 #992F51
monochromatic
#123B1A #216A2E #2F9942 #41C558 #6FD381

Accessibility & contrast

On white

3.65
#2F9942 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#2F9942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9942
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9942#FFFFFF#000000##000000
##2F99421.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B3A
Deuteranopia (green-blind)
#8E8249
Tritanopia (blue-blind)
#059586
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2f9942;
/* rgb */ color: rgb(47, 153, 66);
/* oklch */ color: oklch(60.3% 0.158 146.3);
Tailwind
colors: {
  custom: {
    50: '#76b879',
    500: '#2f9942',
    950: '#000000',
  },
}
SCSS
$custom: #2f9942;
$custom-light: #76b879;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9942",
  "rgb": {
    "r": 47,
    "g": 153,
    "b": 66
  },
  "hsl": {
    "h": 130.755,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.15762,
    "h": 146.3
  },
  "luminance": 0.2378
}

Semantic roles & 50–950 ramp

primary
#2F9942
secondary
#BA69AC
accent
#4BC2DC
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #2F9942

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

Preview Lab → · Contrast checker → · Palette generator →

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