#2F9D2F#2F9D2F

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

Color values

HEX#2F9D2F
RGBrgb(47, 157, 47)
HSLhsl(120, 54%, 40%)
HSVhsv(120, 70%, 62%)
CMYKcmyk(70.1%, 0%, 70.1%, 38.4%)
CIE-LABlab(57.00, -52.23, 46.61)
CIE-LCHlch(57.00, 70.00, 138.25°)
OKLaboklab(61.21% -0.1418 0.1068)
OKLCHoklch(61.21% 0.178 143)
XYZxyz(13.7415, 24.9220, 6.7750)
Luminance0.2492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9D2F #9D2F9D
analogous
#669D2F #2F9D2F #2F9D66
triadic
#2F9D2F #2F2F9D #9D2F2F
tetradic
#2F9D2F #2F669D #9D2F9D #9D662F
square
#2F9D2F #2F669D #9D2F9D #9D662F
split-complementary
#2F9D2F #662F9D #9D2F66
monochromatic
#133F13 #216E21 #2F9D2F #43C743 #72D572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9D2F#FFFFFF#000000##000000
##2F9D2F1.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)
#A08E1F
Deuteranopia (green-blind)
#94853A
Tritanopia (blue-blind)
#0F9887
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2f9d2f;
/* rgb */ color: rgb(47, 157, 47);
/* oklch */ color: oklch(61.2% 0.178 143.0);
Tailwind
colors: {
  custom: {
    50: '#78bb6e',
    500: '#2f9d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f9d2f;
$custom-light: #78bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9d2f",
  "rgb": {
    "r": 47,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.61207,
    "c": 0.17751,
    "h": 143
  },
  "luminance": 0.24924
}

Semantic roles & 50–950 ramp

primary
#2F9D2F
secondary
#BC6BBC
accent
#4BDDDD
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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