#2F8A22#2F8A22

#2F8A22 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.163 H 141.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F8A22
RGBrgb(47, 138, 34)
HSLhsl(113, 60%, 34%)
HSVhsv(113, 75%, 54%)
CMYKcmyk(65.9%, 0%, 75.4%, 45.9%)
CIE-LABlab(50.56, -46.63, 45.09)
CIE-LCHlch(50.56, 64.87, 135.96°)
OKLaboklab(55.85% -0.1274 0.1019)
OKLCHoklch(55.85% 0.163 141.3)
XYZxyz(10.5490, 18.8957, 4.6044)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A22 #7D228A
analogous
#638A22 #2F8A22 #228A49
triadic
#2F8A22 #222F8A #8A222F
tetradic
#2F8A22 #22638A #7D228A #8A4922
square
#2F8A22 #22638A #7D228A #8A4922
split-complementary
#2F8A22 #49228A #8A2263
monochromatic
#0E280A #1E5916 #2F8A22 #40BB2E #62D452

Accessibility & contrast

On white

4.39
#2F8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2F8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A22
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A22#FFFFFF#000000##000000
##2F8A221.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0E
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#1E8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8a22;
/* rgb */ color: rgb(47, 138, 34);
/* oklch */ color: oklch(55.8% 0.163 141.3);
Tailwind
colors: {
  custom: {
    50: '#74ad64',
    500: '#2f8a22',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a22;
$custom-light: #74ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a22",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 112.5,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55846,
    "c": 0.1631,
    "h": 141.3
  },
  "luminance": 0.18897
}

Semantic roles & 50–950 ramp

primary
#2F8A22
secondary
#AB50B8
accent
#44E4D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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