#2F7932#2F7932

#2F7932 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.3% C 0.129 H 144.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2F7932
RGBrgb(47, 121, 50)
HSLhsl(122, 44%, 33%)
HSVhsv(122, 61%, 47%)
CMYKcmyk(61.2%, 0%, 58.7%, 52.5%)
CIE-LABlab(44.95, -38.39, 31.77)
CIE-LCHlch(44.95, 49.83, 140.39°)
OKLaboklab(51.26% -0.1042 0.0755)
OKLCHoklch(51.26% 0.129 144.1)
XYZxyz(8.5849, 14.5086, 5.3650)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7932 #792F76
analogous
#51792F #2F7932 #2F7957
triadic
#2F7932 #322F79 #79322F
tetradic
#2F7932 #2F5179 #792F76 #79572F
square
#2F7932 #2F5179 #792F76 #79572F
split-complementary
#2F7932 #572F79 #792F51
monochromatic
#0D210E #1E4D20 #2F7932 #40A544 #61C265

Accessibility & contrast

On white

5.38
#2F7932 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2F7932 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7932
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7932#FFFFFF#000000##FFFFFF
##2F79321.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2B
Deuteranopia (green-blind)
#726837
Tritanopia (blue-blind)
#217669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7932;
/* rgb */ color: rgb(47, 121, 50);
/* oklch */ color: oklch(51.3% 0.129 144.1);
Tailwind
colors: {
  custom: {
    50: '#70a06c',
    500: '#2f7932',
    950: '#000000',
  },
}
SCSS
$custom: #2f7932;
$custom-light: #70a06c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7932",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 50
  },
  "hsl": {
    "h": 122.432,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51258,
    "c": 0.12863,
    "h": 144.1
  },
  "luminance": 0.14509
}

Semantic roles & 50–950 ramp

primary
#2F7932
secondary
#A85BA5
accent
#54CFD4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2F7932

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

Preview Lab → · Contrast checker → · Palette generator →

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