#2F8022#2F8022

#2F8022 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.151 H 141.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2F8022
RGBrgb(47, 128, 34)
HSLhsl(112, 58%, 32%)
HSVhsv(112, 73%, 50%)
CMYKcmyk(63.3%, 0%, 73.4%, 49.8%)
CIE-LABlab(47.18, -42.92, 41.64)
CIE-LCHlch(47.18, 59.80, 135.87°)
OKLaboklab(53.04% -0.1173 0.0947)
OKLCHoklch(53.04% 0.151 141.1)
XYZxyz(9.1797, 16.1573, 4.1480)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8022 #732280
analogous
#5E8022 #2F8022 #228044
triadic
#2F8022 #222F80 #80222F
tetradic
#2F8022 #225E80 #732280 #804422
square
#2F8022 #225E80 #732280 #804422
split-complementary
#2F8022 #442280 #80225E
monochromatic
#0B1F08 #1D5015 #2F8022 #41B02F #5FD04D

Accessibility & contrast

On white

4.96
#2F8022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2F8022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8022
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8022#FFFFFF#000000##FFFFFF
##2F80221.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837413
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#227C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f8022;
/* rgb */ color: rgb(47, 128, 34);
/* oklch */ color: oklch(53.0% 0.151 141.1);
Tailwind
colors: {
  custom: {
    50: '#72a663',
    500: '#2f8022',
    950: '#000000',
  },
}
SCSS
$custom: #2f8022;
$custom-light: #72a663;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8022",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 111.702,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53045,
    "c": 0.15076,
    "h": 141.1
  },
  "luminance": 0.16158
}

Semantic roles & 50–950 ramp

primary
#2F8022
secondary
#A44BB2
accent
#47E1CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2F8022

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

Preview Lab → · Contrast checker → · Palette generator →

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