#2F9731#2F9731

#2F9731 is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.6% C 0.169 H 143.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#2F9731
RGBrgb(47, 151, 49)
HSLhsl(121, 53%, 39%)
HSVhsv(121, 69%, 59%)
CMYKcmyk(68.9%, 0%, 67.5%, 40.8%)
CIE-LABlab(55.03, -49.92, 43.65)
CIE-LCHlch(55.03, 66.32, 138.83°)
OKLaboklab(59.58% -0.1354 0.1008)
OKLCHoklch(59.58% 0.169 143.3)
XYZxyz(12.7925, 22.9580, 6.6623)
Luminance0.2296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9731 #972F95
analogous
#61972F #2F9731 #2F9765
triadic
#2F9731 #312F97 #97312F
tetradic
#2F9731 #2F6197 #972F95 #97652F
square
#2F9731 #2F6197 #972F95 #97652F
split-complementary
#2F9731 #652F97 #972F61
monochromatic
#123A13 #206822 #2F9731 #40C342 #6ED270

Accessibility & contrast

On white

3.76
#2F9731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#2F9731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9731
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9731#FFFFFF#000000##000000
##2F97311.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8924
Deuteranopia (green-blind)
#8E803A
Tritanopia (blue-blind)
#139382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f9731;
/* rgb */ color: rgb(47, 151, 49);
/* oklch */ color: oklch(59.6% 0.169 143.3);
Tailwind
colors: {
  custom: {
    50: '#76b76e',
    500: '#2f9731',
    950: '#000000',
  },
}
SCSS
$custom: #2f9731;
$custom-light: #76b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9731",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 121.154,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5958,
    "c": 0.16884,
    "h": 143.3
  },
  "luminance": 0.22959
}

Semantic roles & 50–950 ramp

primary
#2F9731
secondary
#B968B8
accent
#4CD9DC
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F9731

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

Preview Lab → · Contrast checker → · Palette generator →

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