#2F8420#2F8420

#2F8420 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.157 H 141.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F8420
RGBrgb(47, 132, 32)
HSLhsl(111, 61%, 32%)
HSVhsv(111, 76%, 52%)
CMYKcmyk(64.4%, 0%, 75.8%, 48.2%)
CIE-LABlab(48.52, -44.59, 43.79)
CIE-LCHlch(48.52, 62.50, 135.52°)
OKLaboklab(54.15% -0.122 0.0989)
OKLCHoklch(54.15% 0.157 141)
XYZxyz(9.6838, 17.2102, 4.1778)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8420 #752084
analogous
#618420 #2F8420 #208443
triadic
#2F8420 #202F84 #84202F
tetradic
#2F8420 #206184 #752084 #844320
square
#2F8420 #206184 #752084 #844320
split-complementary
#2F8420 #432084 #842061
monochromatic
#0C2108 #1D5314 #2F8420 #41B52C #5FD34B

Accessibility & contrast

On white

4.73
#2F8420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2F8420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8420
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8420#FFFFFF#000000##FFFFFF
##2F84201.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88770D
Deuteranopia (green-blind)
#7D712A
Tritanopia (blue-blind)
#218071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8420;
/* rgb */ color: rgb(47, 132, 32);
/* oklch */ color: oklch(54.2% 0.157 141.0);
Tailwind
colors: {
  custom: {
    50: '#73a963',
    500: '#2f8420',
    950: '#000000',
  },
}
SCSS
$custom: #2f8420;
$custom-light: #73a963;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8420",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 111,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54152,
    "c": 0.15701,
    "h": 141
  },
  "luminance": 0.17211
}

Semantic roles & 50–950 ramp

primary
#2F8420
secondary
#A64AB6
accent
#44E4CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F8420

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

Preview Lab → · Contrast checker → · Palette generator →

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