#2F9E1F#2F9E1F

#2F9E1F is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.4% C 0.188 H 141.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2F9E1F
RGBrgb(47, 158, 31)
HSLhsl(112, 67%, 37%)
HSVhsv(112, 80%, 62%)
CMYKcmyk(70.3%, 0%, 80.4%, 38%)
CIE-LABlab(57.23, -53.82, 52.63)
CIE-LCHlch(57.23, 75.27, 135.64°)
OKLaboklab(61.36% -0.1469 0.1172)
OKLCHoklch(61.36% 0.188 141.4)
XYZxyz(13.6457, 25.1555, 5.4324)
Luminance0.2516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9E1F #8E1F9E
analogous
#6F9E1F #2F9E1F #1F9E4F
triadic
#2F9E1F #1F2F9E #9E1F2F
tetradic
#2F9E1F #1F6F9E #8E1F9E #9E4F1F
square
#2F9E1F #1F6F9E #8E1F9E #9E4F1F
split-complementary
#2F9E1F #4F1F9E #9E1F6F
monochromatic
#11380B #206B15 #2F9E1F #3ED129 #6ADE59

Accessibility & contrast

On white

3.48
#2F9E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#2F9E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9E1F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9E1F#FFFFFF#000000##000000
##2F9E1F1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#95862E
Tritanopia (blue-blind)
#149987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2f9e1f;
/* rgb */ color: rgb(47, 158, 31);
/* oklch */ color: oklch(61.4% 0.188 141.4);
Tailwind
colors: {
  custom: {
    50: '#79bc66',
    500: '#2f9e1f',
    950: '#000000',
  },
}
SCSS
$custom: #2f9e1f;
$custom-light: #79bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9e1f",
  "rgb": {
    "r": 47,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 112.441,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61362,
    "c": 0.18793,
    "h": 141.4
  },
  "luminance": 0.25157
}

Semantic roles & 50–950 ramp

primary
#2F9E1F
secondary
#B556C2
accent
#3EEAD4
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2F9E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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