#2F7922#2F7922

#2F7922 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.142 H 140.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2F7922
RGBrgb(47, 121, 34)
HSLhsl(111, 56%, 30%)
HSVhsv(111, 72%, 47%)
CMYKcmyk(61.2%, 0%, 71.9%, 52.5%)
CIE-LABlab(44.79, -40.23, 39.15)
CIE-LCHlch(44.79, 56.13, 135.78°)
OKLaboklab(51.07% -0.11 0.0895)
OKLCHoklch(51.07% 0.142 140.9)
XYZxyz(8.2980, 14.3938, 3.8541)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7922 #6C2279
analogous
#5B7922 #2F7922 #227940
triadic
#2F7922 #222F79 #79222F
tetradic
#2F7922 #225B79 #6C2279 #794022
square
#2F7922 #225B79 #6C2279 #794022
split-complementary
#2F7922 #402279 #79225B
monochromatic
#0A1907 #1C4915 #2F7922 #42A92F #5DCC49

Accessibility & contrast

On white

5.41
#2F7922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2F7922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7922
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7922#FFFFFF#000000##FFFFFF
##2F79221.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E15
Deuteranopia (green-blind)
#73682A
Tritanopia (blue-blind)
#257568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7922;
/* rgb */ color: rgb(47, 121, 34);
/* oklch */ color: oklch(51.1% 0.142 140.9);
Tailwind
colors: {
  custom: {
    50: '#71a062',
    500: '#2f7922',
    950: '#000000',
  },
}
SCSS
$custom: #2f7922;
$custom-light: #71a062;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7922",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 111.034,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51073,
    "c": 0.14181,
    "h": 140.9
  },
  "luminance": 0.14395
}

Semantic roles & 50–950 ramp

primary
#2F7922
secondary
#9D4BAC
accent
#48DFC9
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2F7922

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

Preview Lab → · Contrast checker → · Palette generator →

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