#2F8B20#2F8B20

#2F8B20 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.165 H 141.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2F8B20
RGBrgb(47, 139, 32)
HSLhsl(112, 63%, 34%)
HSVhsv(112, 77%, 55%)
CMYKcmyk(66.2%, 0%, 77%, 45.5%)
CIE-LABlab(50.89, -47.15, 46.15)
CIE-LCHlch(50.89, 65.98, 135.61°)
OKLaboklab(56.11% -0.1289 0.1038)
OKLCHoklch(56.11% 0.165 141.1)
XYZxyz(10.6651, 19.1728, 4.5049)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B20 #7C208B
analogous
#648B20 #2F8B20 #208B46
triadic
#2F8B20 #202F8B #8B202F
tetradic
#2F8B20 #20648B #7C208B #8B4620
square
#2F8B20 #20648B #7C208B #8B4620
split-complementary
#2F8B20 #46208B #8B2064
monochromatic
#0D2809 #1E5915 #2F8B20 #40BD2B #62D64F

Accessibility & contrast

On white

4.34
#2F8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2F8B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8B20
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8B20#FFFFFF#000000##000000
##2F8B201.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E09
Deuteranopia (green-blind)
#84762C
Tritanopia (blue-blind)
#1E8677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8b20;
/* rgb */ color: rgb(47, 139, 32);
/* oklch */ color: oklch(56.1% 0.165 141.1);
Tailwind
colors: {
  custom: {
    50: '#75ae63',
    500: '#2f8b20',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b20;
$custom-light: #75ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b20",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 111.589,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5611,
    "c": 0.16548,
    "h": 141.1
  },
  "luminance": 0.19174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8B20

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

Preview Lab → · Contrast checker → · Palette generator →

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