#2F9E2C#2F9E2C

#2F9E2C is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.5% C 0.181 H 142.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2F9E2C
RGBrgb(47, 158, 44)
HSLhsl(118, 56%, 40%)
HSVhsv(118, 72%, 62%)
CMYKcmyk(70.3%, 0%, 72.2%, 38%)
CIE-LABlab(57.31, -52.85, 48.13)
CIE-LCHlch(57.31, 71.48, 137.67°)
OKLaboklab(61.46% -0.1436 0.1096)
OKLCHoklch(61.46% 0.181 142.7)
XYZxyz(13.8530, 25.2384, 6.5238)
Luminance0.2524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9E2C #9B2C9E
analogous
#689E2C #2F9E2C #2C9E62
triadic
#2F9E2C #2C2F9E #9E2C2F
tetradic
#2F9E2C #2C689E #9B2C9E #9E622C
square
#2F9E2C #2C689E #9B2C9E #9E622C
split-complementary
#2F9E2C #622C9E #9E2C68
monochromatic
#133E11 #216E1F #2F9E2C #42C93E #71D76E

Accessibility & contrast

On white

3.47
#2F9E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#2F9E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9E2C
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9E2C#FFFFFF#000000##000000
##2F9E2C1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F19
Deuteranopia (green-blind)
#958637
Tritanopia (blue-blind)
#0F9987
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2f9e2c;
/* rgb */ color: rgb(47, 158, 44);
/* oklch */ color: oklch(61.5% 0.181 142.7);
Tailwind
colors: {
  custom: {
    50: '#78bc6c',
    500: '#2f9e2c',
    950: '#000000',
  },
}
SCSS
$custom: #2f9e2c;
$custom-light: #78bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9e2c",
  "rgb": {
    "r": 47,
    "g": 158,
    "b": 44
  },
  "hsl": {
    "h": 118.421,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61455,
    "c": 0.18067,
    "h": 142.7
  },
  "luminance": 0.2524
}

Semantic roles & 50–950 ramp

primary
#2F9E2C
secondary
#BB68BE
accent
#48E0DC
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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