#2F8A31#2F8A31

#2F8A31 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.152 H 143.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F8A31
RGBrgb(47, 138, 49)
HSLhsl(121, 49%, 36%)
HSVhsv(121, 66%, 54%)
CMYKcmyk(65.9%, 0%, 64.5%, 45.9%)
CIE-LABlab(50.69, -45.17, 38.86)
CIE-LCHlch(50.69, 59.59, 139.29°)
OKLaboklab(55.99% -0.1226 0.0906)
OKLCHoklch(55.99% 0.152 143.5)
XYZxyz(10.8145, 19.0020, 6.0030)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A31 #8A2F88
analogous
#5B8A2F #2F8A31 #2F8A5F
triadic
#2F8A31 #312F8A #8A312F
tetradic
#2F8A31 #2F5B8A #8A2F88 #8A5F2F
square
#2F8A31 #2F5B8A #8A2F88 #8A5F2F
split-complementary
#2F8A31 #5F2F8A #8A2F5B
monochromatic
#102F11 #1F5C21 #2F8A31 #3FB841 #68CC6A

Accessibility & contrast

On white

4.37
#2F8A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2F8A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A31
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A31#FFFFFF#000000##000000
##2F8A311.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D27
Deuteranopia (green-blind)
#827639
Tritanopia (blue-blind)
#1B8677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8a31;
/* rgb */ color: rgb(47, 138, 49);
/* oklch */ color: oklch(56.0% 0.152 143.5);
Tailwind
colors: {
  custom: {
    50: '#73ad6d',
    500: '#2f8a31',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a31;
$custom-light: #73ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a31",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 121.319,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55989,
    "c": 0.15244,
    "h": 143.5
  },
  "luminance": 0.19003
}

Semantic roles & 50–950 ramp

primary
#2F8A31
secondary
#B362B1
accent
#4FD6D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8A31

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

Preview Lab → · Contrast checker → · Palette generator →

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