#2F9D2E#2F9D2E

#2F9D2E is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.2% C 0.178 H 142.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2F9D2E
RGBrgb(47, 157, 46)
HSLhsl(119, 55%, 40%)
HSVhsv(119, 71%, 62%)
CMYKcmyk(70.1%, 0%, 70.7%, 38.4%)
CIE-LABlab(56.99, -52.32, 47.01)
CIE-LCHlch(56.99, 70.34, 138.06°)
OKLaboklab(61.2% -0.1421 0.1075)
OKLCHoklch(61.2% 0.178 142.9)
XYZxyz(13.7216, 24.9141, 6.6700)
Luminance0.2492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9D2E #9C2E9D
analogous
#679D2E #2F9D2E #2E9D64
triadic
#2F9D2E #2E2F9D #9D2E2F
tetradic
#2F9D2E #2E679D #9C2E9D #9D642E
square
#2F9D2E #2E679D #9C2E9D #9D642E
split-complementary
#2F9D2E #642E9D #9D2E67
monochromatic
#133E12 #216E20 #2F9D2E #42C741 #71D570

Accessibility & contrast

On white

3.51
#2F9D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#2F9D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9D2E
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9D2E#FFFFFF#000000##000000
##2F9D2E1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E1D
Deuteranopia (green-blind)
#948539
Tritanopia (blue-blind)
#0F9887
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2f9d2e;
/* rgb */ color: rgb(47, 157, 46);
/* oklch */ color: oklch(61.2% 0.178 142.9);
Tailwind
colors: {
  custom: {
    50: '#78bb6d',
    500: '#2f9d2e',
    950: '#000000',
  },
}
SCSS
$custom: #2f9d2e;
$custom-light: #78bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9d2e",
  "rgb": {
    "r": 47,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 119.459,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61198,
    "c": 0.17818,
    "h": 142.9
  },
  "luminance": 0.24916
}

Semantic roles & 50–950 ramp

primary
#2F9D2E
secondary
#BC6ABD
accent
#4ADEDD
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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