#2F8C20#2F8C20

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

Color values

HEX#2F8C20
RGBrgb(47, 140, 32)
HSLhsl(112, 63%, 34%)
HSVhsv(112, 77%, 55%)
CMYKcmyk(66.4%, 0%, 77.1%, 45.1%)
CIE-LABlab(51.23, -47.51, 46.49)
CIE-LCHlch(51.23, 66.47, 135.62°)
OKLaboklab(56.39% -0.1298 0.1045)
OKLCHoklch(56.39% 0.167 141.2)
XYZxyz(10.8105, 19.4637, 4.5534)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8C20 #7D208C
analogous
#658C20 #2F8C20 #208C47
triadic
#2F8C20 #202F8C #8C202F
tetradic
#2F8C20 #20658C #7D208C #8C4720
square
#2F8C20 #20658C #7D208C #8C4720
split-complementary
#2F8C20 #47208C #8C2065
monochromatic
#0E2809 #1E5A15 #2F8C20 #40BE2B #62D750

Accessibility & contrast

On white

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

On black

4.89
#2F8C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8C20
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8C20#FFFFFF#000000##000000
##2F8C201.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F08
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#1E8777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8c20;
/* rgb */ color: rgb(47, 140, 32);
/* oklch */ color: oklch(56.4% 0.167 141.2);
Tailwind
colors: {
  custom: {
    50: '#75ae64',
    500: '#2f8c20',
    950: '#000000',
  },
}
SCSS
$custom: #2f8c20;
$custom-light: #75ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8c20",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 111.667,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56389,
    "c": 0.16667,
    "h": 141.2
  },
  "luminance": 0.19465
}

Semantic roles & 50–950 ramp

primary
#2F8C20
secondary
#AB4EBA
accent
#42E6CF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8C20

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

Preview Lab → · Contrast checker → · Palette generator →

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