#2F8722#2F8722

#2F8722 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.159 H 141.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F8722
RGBrgb(47, 135, 34)
HSLhsl(112, 60%, 33%)
HSVhsv(112, 75%, 53%)
CMYKcmyk(65.2%, 0%, 74.8%, 47.1%)
CIE-LABlab(49.55, -45.54, 44.06)
CIE-LCHlch(49.55, 63.37, 135.94°)
OKLaboklab(55.01% -0.1244 0.0997)
OKLCHoklch(55.01% 0.159 141.3)
XYZxyz(10.1245, 18.0468, 4.4629)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8722 #7A2287
analogous
#618722 #2F8722 #228747
triadic
#2F8722 #222F87 #87222F
tetradic
#2F8722 #226187 #7A2287 #874722
square
#2F8722 #226187 #7A2287 #874722
split-complementary
#2F8722 #472287 #872261
monochromatic
#0D2509 #1E5616 #2F8722 #40B82E #61D350

Accessibility & contrast

On white

4.56
#2F8722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2F8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8722
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8722#FFFFFF#000000##000000
##2F87221.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A10
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#208373
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f8722;
/* rgb */ color: rgb(47, 135, 34);
/* oklch */ color: oklch(55.0% 0.159 141.3);
Tailwind
colors: {
  custom: {
    50: '#74ab64',
    500: '#2f8722',
    950: '#000000',
  },
}
SCSS
$custom: #2f8722;
$custom-light: #74ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8722",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 112.277,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55008,
    "c": 0.15945,
    "h": 141.3
  },
  "luminance": 0.18048
}

Semantic roles & 50–950 ramp

primary
#2F8722
secondary
#A94EB7
accent
#45E3CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8722

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

Preview Lab → · Contrast checker → · Palette generator →

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