#2F8C22#2F8C22

#2F8C22 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.166 H 141.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F8C22
RGBrgb(47, 140, 34)
HSLhsl(113, 61%, 34%)
HSVhsv(113, 76%, 55%)
CMYKcmyk(66.4%, 0%, 75.7%, 45.1%)
CIE-LABlab(51.24, -47.36, 45.77)
CIE-LCHlch(51.24, 65.86, 135.98°)
OKLaboklab(56.4% -0.1293 0.1033)
OKLCHoklch(56.4% 0.166 141.4)
XYZxyz(10.8385, 19.4749, 4.7009)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8C22 #7F228C
analogous
#648C22 #2F8C22 #228C4A
triadic
#2F8C22 #222F8C #8C222F
tetradic
#2F8C22 #22648C #7F228C #8C4A22
square
#2F8C22 #22648C #7F228C #8C4A22
split-complementary
#2F8C22 #4A228C #8C2264
monochromatic
#0E2A0A #1E5B16 #2F8C22 #40BD2E #63D553

Accessibility & contrast

On white

4.29
#2F8C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2F8C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8C22
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8C22#FFFFFF#000000##000000
##2F8C221.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#1E8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8c22;
/* rgb */ color: rgb(47, 140, 34);
/* oklch */ color: oklch(56.4% 0.166 141.4);
Tailwind
colors: {
  custom: {
    50: '#75ae65',
    500: '#2f8c22',
    950: '#000000',
  },
}
SCSS
$custom: #2f8c22;
$custom-light: #75ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8c22",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 112.642,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56403,
    "c": 0.16551,
    "h": 141.4
  },
  "luminance": 0.19476
}

Semantic roles & 50–950 ramp

primary
#2F8C22
secondary
#AC51B9
accent
#44E4D0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8C22

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

Preview Lab → · Contrast checker → · Palette generator →

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