#2F802E#2F802E

#2F802E is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.142 H 143.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2F802E
RGBrgb(47, 128, 46)
HSLhsl(119, 47%, 34%)
HSVhsv(119, 64%, 50%)
CMYKcmyk(63.3%, 0%, 64.1%, 49.8%)
CIE-LABlab(47.29, -41.69, 36.44)
CIE-LCHlch(47.29, 55.37, 138.85°)
OKLaboklab(53.17% -0.1133 0.0852)
OKLCHoklch(53.17% 0.142 143.1)
XYZxyz(9.3841, 16.2390, 5.2242)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F802E #7F2E80
analogous
#58802E #2F802E #2E8056
triadic
#2F802E #2E2F80 #802E2F
tetradic
#2F802E #2E5880 #7F2E80 #80562E
square
#2F802E #2E5880 #7F2E80 #80562E
split-complementary
#2F802E #562E80 #802E58
monochromatic
#0E260E #1E531E #2F802E #40AD3E #63C762

Accessibility & contrast

On white

4.94
#2F802E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2F802E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F802E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F802E#FFFFFF#000000##FFFFFF
##2F802E1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837425
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#207C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f802e;
/* rgb */ color: rgb(47, 128, 46);
/* oklch */ color: oklch(53.2% 0.142 143.1);
Tailwind
colors: {
  custom: {
    50: '#72a66a',
    500: '#2f802e',
    950: '#000000',
  },
}
SCSS
$custom: #2f802e;
$custom-light: #72a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f802e",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 119.268,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53168,
    "c": 0.14174,
    "h": 143.1
  },
  "luminance": 0.1624
}

Semantic roles & 50–950 ramp

primary
#2F802E
secondary
#AC5DAD
accent
#51D7D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F802E

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

Preview Lab → · Contrast checker → · Palette generator →

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