#2F802B#2F802B

#2F802B is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.144 H 142.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2F802B
RGBrgb(47, 128, 43)
HSLhsl(117, 50%, 34%)
HSVhsv(117, 66%, 50%)
CMYKcmyk(63.3%, 0%, 66.4%, 49.8%)
CIE-LABlab(47.26, -42.03, 37.81)
CIE-LCHlch(47.26, 56.54, 138.03°)
OKLaboklab(53.13% -0.1144 0.0877)
OKLCHoklch(53.13% 0.144 142.5)
XYZxyz(9.3270, 16.2162, 4.9236)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F802B #7C2B80
analogous
#59802B #2F802B #2B8051
triadic
#2F802B #2B2F80 #802B2F
tetradic
#2F802B #2B5980 #7C2B80 #80512B
square
#2F802B #2B5980 #7C2B80 #80512B
split-complementary
#2F802B #512B80 #802B59
monochromatic
#0D240C #1E521C #2F802B #40AE3A #62C95D

Accessibility & contrast

On white

4.95
#2F802B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2F802B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F802B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F802B#FFFFFF#000000##FFFFFF
##2F802B1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837421
Deuteranopia (green-blind)
#796D32
Tritanopia (blue-blind)
#207C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f802b;
/* rgb */ color: rgb(47, 128, 43);
/* oklch */ color: oklch(53.1% 0.144 142.5);
Tailwind
colors: {
  custom: {
    50: '#72a668',
    500: '#2f802b',
    950: '#000000',
  },
}
SCSS
$custom: #2f802b;
$custom-light: #72a668;
$custom-dark: #000000;
JSON
{
  "hex": "#2f802b",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 117.176,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53133,
    "c": 0.14417,
    "h": 142.5
  },
  "luminance": 0.16217
}

Semantic roles & 50–950 ramp

primary
#2F802B
secondary
#AA58AE
accent
#4FD9D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2F802B

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

Preview Lab → · Contrast checker → · Palette generator →

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