#2F9F1F#2F9F1F

#2F9F1F is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.6% C 0.189 H 141.4°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2F9F1F
RGBrgb(47, 159, 31)
HSLhsl(113, 67%, 37%)
HSVhsv(113, 81%, 62%)
CMYKcmyk(70.4%, 0%, 80.5%, 37.6%)
CIE-LABlab(57.56, -54.16, 52.94)
CIE-LCHlch(57.56, 75.73, 135.65°)
OKLaboklab(61.64% -0.1478 0.1178)
OKLCHoklch(61.64% 0.189 141.4)
XYZxyz(13.8170, 25.4981, 5.4895)
Luminance0.2550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9F1F #8F1F9F
analogous
#6F9F1F #2F9F1F #1F9F4F
triadic
#2F9F1F #1F2F9F #9F1F2F
tetradic
#2F9F1F #1F6F9F #8F1F9F #9F4F1F
square
#2F9F1F #1F6F9F #8F1F9F #9F4F1F
split-complementary
#2F9F1F #4F1F9F #9F1F6F
monochromatic
#11390B #206C15 #2F9F1F #3ED229 #6ADF5A

Accessibility & contrast

On white

3.44
#2F9F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#2F9F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9F1F
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9F1F#FFFFFF#000000##000000
##2F9F1F1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#96872E
Tritanopia (blue-blind)
#139A87
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2f9f1f;
/* rgb */ color: rgb(47, 159, 31);
/* oklch */ color: oklch(61.6% 0.189 141.4);
Tailwind
colors: {
  custom: {
    50: '#79bc66',
    500: '#2f9f1f',
    950: '#000000',
  },
}
SCSS
$custom: #2f9f1f;
$custom-light: #79bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9f1f",
  "rgb": {
    "r": 47,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 112.5,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61637,
    "c": 0.18904,
    "h": 141.4
  },
  "luminance": 0.255
}

Semantic roles & 50–950 ramp

primary
#2F9F1F
secondary
#B557C3
accent
#3EEAD5
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2F9F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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