#2F7724#2F7724

#2F7724 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.5% C 0.138 H 141.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2F7724
RGBrgb(47, 119, 36)
HSLhsl(112, 54%, 30%)
HSVhsv(112, 70%, 47%)
CMYKcmyk(60.5%, 0%, 69.7%, 53.3%)
CIE-LABlab(44.12, -39.24, 37.57)
CIE-LCHlch(44.12, 54.32, 136.25°)
OKLaboklab(50.53% -0.1072 0.0864)
OKLCHoklch(50.53% 0.138 141.1)
XYZxyz(8.0872, 13.9246, 3.9303)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7724 #6C2477
analogous
#587724 #2F7724 #247742
triadic
#2F7724 #242F77 #77242F
tetradic
#2F7724 #245877 #6C2477 #774224
square
#2F7724 #245877 #6C2477 #774224
split-complementary
#2F7724 #422477 #772458
monochromatic
#0A1908 #1C4816 #2F7724 #42A632 #5DC94C

Accessibility & contrast

On white

5.55
#2F7724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#2F7724 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7724
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7724#FFFFFF#000000##FFFFFF
##2F77241.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C19
Deuteranopia (green-blind)
#71662C
Tritanopia (blue-blind)
#257366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f7724;
/* rgb */ color: rgb(47, 119, 36);
/* oklch */ color: oklch(50.5% 0.138 141.1);
Tailwind
colors: {
  custom: {
    50: '#709f63',
    500: '#2f7724',
    950: '#000000',
  },
}
SCSS
$custom: #2f7724;
$custom-light: #709f63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7724",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 36
  },
  "hsl": {
    "h": 112.048,
    "s": 53.548,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50527,
    "c": 0.13772,
    "h": 141.1
  },
  "luminance": 0.13925
}

Semantic roles & 50–950 ramp

primary
#2F7724
secondary
#9D4DAA
accent
#4BDDCA
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2F7724

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

Preview Lab → · Contrast checker → · Palette generator →

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