#2F8622#2F8622

#2F8622 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.158 H 141.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F8622
RGBrgb(47, 134, 34)
HSLhsl(112, 60%, 33%)
HSVhsv(112, 75%, 53%)
CMYKcmyk(64.9%, 0%, 74.6%, 47.5%)
CIE-LABlab(49.21, -45.17, 43.72)
CIE-LCHlch(49.21, 62.86, 135.93°)
OKLaboklab(54.73% -0.1234 0.099)
OKLCHoklch(54.73% 0.158 141.3)
XYZxyz(9.9856, 17.7691, 4.4166)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8622 #792286
analogous
#618622 #2F8622 #228647
triadic
#2F8622 #222F86 #86222F
tetradic
#2F8622 #226186 #792286 #864722
square
#2F8622 #226186 #792286 #864722
split-complementary
#2F8622 #472286 #862261
monochromatic
#0D2409 #1E5516 #2F8622 #40B72E #61D350

Accessibility & contrast

On white

4.61
#2F8622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2F8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8622
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8622#FFFFFF#000000##FFFFFF
##2F86221.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897910
Deuteranopia (green-blind)
#7F722C
Tritanopia (blue-blind)
#208272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8622;
/* rgb */ color: rgb(47, 134, 34);
/* oklch */ color: oklch(54.7% 0.158 141.3);
Tailwind
colors: {
  custom: {
    50: '#73aa64',
    500: '#2f8622',
    950: '#000000',
  },
}
SCSS
$custom: #2f8622;
$custom-light: #73aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8622",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 112.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54728,
    "c": 0.15822,
    "h": 141.3
  },
  "luminance": 0.1777
}

Semantic roles & 50–950 ramp

primary
#2F8622
secondary
#A84EB6
accent
#45E3CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8622

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

Preview Lab → · Contrast checker → · Palette generator →

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