#2F8620#2F8620

#2F8620 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.159 H 141.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F8620
RGBrgb(47, 134, 32)
HSLhsl(111, 61%, 33%)
HSVhsv(111, 76%, 53%)
CMYKcmyk(64.9%, 0%, 76.1%, 47.5%)
CIE-LABlab(49.20, -45.33, 44.47)
CIE-LCHlch(49.20, 63.50, 135.55°)
OKLaboklab(54.71% -0.1239 0.1003)
OKLCHoklch(54.71% 0.159 141)
XYZxyz(9.9576, 17.7578, 4.2691)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8620 #772086
analogous
#628620 #2F8620 #208644
triadic
#2F8620 #202F86 #86202F
tetradic
#2F8620 #206286 #772086 #864420
square
#2F8620 #206286 #772086 #864420
split-complementary
#2F8620 #442086 #862062
monochromatic
#0C2308 #1E5514 #2F8620 #40B72C #60D44C

Accessibility & contrast

On white

4.61
#2F8620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2F8620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8620
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8620#FFFFFF#000000##FFFFFF
##2F86201.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A790C
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#208272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8620;
/* rgb */ color: rgb(47, 134, 32);
/* oklch */ color: oklch(54.7% 0.159 141.0);
Tailwind
colors: {
  custom: {
    50: '#74aa63',
    500: '#2f8620',
    950: '#000000',
  },
}
SCSS
$custom: #2f8620;
$custom-light: #74aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8620",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 111.176,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54713,
    "c": 0.15945,
    "h": 141
  },
  "luminance": 0.17759
}

Semantic roles & 50–950 ramp

primary
#2F8620
secondary
#A74BB7
accent
#43E5CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8620

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

Preview Lab → · Contrast checker → · Palette generator →

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