#2F9E2F#2F9E2F

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

Color values

HEX#2F9E2F
RGBrgb(47, 158, 47)
HSLhsl(120, 54%, 40%)
HSVhsv(120, 70%, 62%)
CMYKcmyk(70.3%, 0%, 70.3%, 38%)
CIE-LABlab(57.33, -52.58, 46.96)
CIE-LCHlch(57.33, 70.49, 138.23°)
OKLaboklab(61.48% -0.1427 0.1075)
OKLCHoklch(61.48% 0.179 143)
XYZxyz(13.9114, 25.2618, 6.8316)
Luminance0.2526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9E2F #9E2F9E
analogous
#669E2F #2F9E2F #2F9E66
triadic
#2F9E2F #2F2F9E #9E2F2F
tetradic
#2F9E2F #2F669E #9E2F9E #9E662F
square
#2F9E2F #2F669E #9E2F9E #9E662F
split-complementary
#2F9E2F #662F9E #9E2F66
monochromatic
#134013 #216F21 #2F9E2F #43C743 #72D572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9E2F#FFFFFF#000000##000000
##2F9E2F1.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)
#A18F1F
Deuteranopia (green-blind)
#94863A
Tritanopia (blue-blind)
#0E9988
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2f9e2f;
/* rgb */ color: rgb(47, 158, 47);
/* oklch */ color: oklch(61.5% 0.179 143.0);
Tailwind
colors: {
  custom: {
    50: '#78bc6e',
    500: '#2f9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f9e2f;
$custom-light: #78bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9e2f",
  "rgb": {
    "r": 47,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61481,
    "c": 0.17871,
    "h": 143
  },
  "luminance": 0.25263
}

Semantic roles & 50–950 ramp

primary
#2F9E2F
secondary
#BD6CBD
accent
#4ADEDE
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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