#2F8E22#2F8E22

#2F8E22 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.168 H 141.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2F8E22
RGBrgb(47, 142, 34)
HSLhsl(113, 61%, 35%)
HSVhsv(113, 76%, 56%)
CMYKcmyk(66.9%, 0%, 76.1%, 44.3%)
CIE-LABlab(51.91, -48.07, 46.44)
CIE-LCHlch(51.91, 66.84, 135.99°)
OKLaboklab(56.96% -0.1312 0.1047)
OKLCHoklch(56.96% 0.168 141.4)
XYZxyz(11.1334, 20.0647, 4.7992)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E22 #81228E
analogous
#658E22 #2F8E22 #228E4B
triadic
#2F8E22 #222F8E #8E222F
tetradic
#2F8E22 #22658E #81228E #8E4B22
square
#2F8E22 #22658E #81228E #8E4B22
split-complementary
#2F8E22 #4B228E #8E2265
monochromatic
#0E2B0A #1F5D16 #2F8E22 #3FBF2E #64D654

Accessibility & contrast

On white

4.19
#2F8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2F8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E22
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E22#FFFFFF#000000##000000
##2F8E221.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92800C
Deuteranopia (green-blind)
#86792D
Tritanopia (blue-blind)
#1D8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e22;
/* rgb */ color: rgb(47, 142, 34);
/* oklch */ color: oklch(57.0% 0.168 141.4);
Tailwind
colors: {
  custom: {
    50: '#75b065',
    500: '#2f8e22',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e22;
$custom-light: #75b065;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e22",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 112.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5696,
    "c": 0.16789,
    "h": 141.4
  },
  "luminance": 0.20066
}

Semantic roles & 50–950 ramp

primary
#2F8E22
secondary
#AD52BA
accent
#43E4D1
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2F8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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