#2F8A20#2F8A20

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

Color values

HEX#2F8A20
RGBrgb(47, 138, 32)
HSLhsl(112, 62%, 33%)
HSVhsv(112, 77%, 54%)
CMYKcmyk(65.9%, 0%, 76.8%, 45.9%)
CIE-LABlab(50.55, -46.79, 45.82)
CIE-LCHlch(50.55, 65.49, 135.60°)
OKLaboklab(55.83% -0.1279 0.1031)
OKLCHoklch(55.83% 0.164 141.1)
XYZxyz(10.5209, 18.8845, 4.4569)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A20 #7B208A
analogous
#648A20 #2F8A20 #208A46
triadic
#2F8A20 #202F8A #8A202F
tetradic
#2F8A20 #20648A #7B208A #8A4620
square
#2F8A20 #20648A #7B208A #8A4620
split-complementary
#2F8A20 #46208A #8A2064
monochromatic
#0D2709 #1E5814 #2F8A20 #40BC2C #62D64E

Accessibility & contrast

On white

4.40
#2F8A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8A20#FFFFFF#000000##000000
##2F8A201.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D09
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#1F8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8a20;
/* rgb */ color: rgb(47, 138, 32);
/* oklch */ color: oklch(55.8% 0.164 141.1);
Tailwind
colors: {
  custom: {
    50: '#74ad63',
    500: '#2f8a20',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a20;
$custom-light: #74ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a20",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 111.509,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55831,
    "c": 0.16429,
    "h": 141.1
  },
  "luminance": 0.18886
}

Semantic roles & 50–950 ramp

primary
#2F8A20
secondary
#AA4DB9
accent
#42E5CE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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