#2F8F31#2F8F31

#2F8F31 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.159 H 143.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2F8F31
RGBrgb(47, 143, 49)
HSLhsl(121, 51%, 37%)
HSVhsv(121, 67%, 56%)
CMYKcmyk(67.1%, 0%, 65.7%, 43.9%)
CIE-LABlab(52.36, -47.03, 40.73)
CIE-LCHlch(52.36, 62.21, 139.11°)
OKLaboklab(57.37% -0.1276 0.0946)
OKLCHoklch(57.37% 0.159 143.4)
XYZxyz(11.5484, 20.4698, 6.2476)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F31 #8F2F8D
analogous
#5D8F2F #2F8F31 #2F8F61
triadic
#2F8F31 #312F8F #8F312F
tetradic
#2F8F31 #2F5D8F #8F2F8D #8F612F
square
#2F8F31 #2F5D8F #8F2F8D #8F612F
split-complementary
#2F8F31 #612F8F #8F2F5D
monochromatic
#113311 #206121 #2F8F31 #3EBD41 #6ACE6C

Accessibility & contrast

On white

4.12
#2F8F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#2F8F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F31
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F31#FFFFFF#000000##000000
##2F8F311.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928226
Deuteranopia (green-blind)
#867A39
Tritanopia (blue-blind)
#188B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8f31;
/* rgb */ color: rgb(47, 143, 49);
/* oklch */ color: oklch(57.4% 0.159 143.4);
Tailwind
colors: {
  custom: {
    50: '#75b16d',
    500: '#2f8f31',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f31;
$custom-light: #75b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f31",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 121.25,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57374,
    "c": 0.15885,
    "h": 143.4
  },
  "luminance": 0.20471
}

Semantic roles & 50–950 ramp

primary
#2F8F31
secondary
#B565B4
accent
#4ED7DA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F8F31

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

Preview Lab → · Contrast checker → · Palette generator →

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