#2F931F#2F931F

#2F931F is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.3% C 0.175 H 141.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2F931F
RGBrgb(47, 147, 31)
HSLhsl(112, 65%, 35%)
HSVhsv(112, 79%, 58%)
CMYKcmyk(68%, 0%, 78.9%, 42.4%)
CIE-LABlab(53.57, -50.06, 49.12)
CIE-LCHlch(53.57, 70.13, 135.54°)
OKLaboklab(58.33% -0.1368 0.1099)
OKLCHoklch(58.33% 0.175 141.2)
XYZxyz(11.8527, 21.5695, 4.8347)
Luminance0.2157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F931F #831F93
analogous
#69931F #2F931F #1F9349
triadic
#2F931F #1F2F93 #931F2F
tetradic
#2F931F #1F6993 #831F93 #93491F
square
#2F931F #1F6993 #831F93 #93491F
split-complementary
#2F931F #491F93 #931F69
monochromatic
#0F2E0A #1F6014 #2F931F #3FC62A #65DA52

Accessibility & contrast

On white

3.95
#2F931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#2F931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F931F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F931F#FFFFFF#000000##000000
##2F931F1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#1B8E7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f931f;
/* rgb */ color: rgb(47, 147, 31);
/* oklch */ color: oklch(58.3% 0.175 141.2);
Tailwind
colors: {
  custom: {
    50: '#76b464',
    500: '#2f931f',
    950: '#000000',
  },
}
SCSS
$custom: #2f931f;
$custom-light: #76b464;
$custom-dark: #000000;
JSON
{
  "hex": "#2f931f",
  "rgb": {
    "r": 47,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 111.724,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58327,
    "c": 0.17543,
    "h": 141.2
  },
  "luminance": 0.21571
}

Semantic roles & 50–950 ramp

primary
#2F931F
secondary
#AF50BE
accent
#40E8D1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F931F

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

Preview Lab → · Contrast checker → · Palette generator →

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