#2F802F#2F802F

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

Color values

HEX#2F802F
RGBrgb(47, 128, 47)
HSLhsl(120, 46%, 34%)
HSVhsv(120, 63%, 50%)
CMYKcmyk(63.3%, 0%, 63.3%, 49.8%)
CIE-LABlab(47.30, -41.57, 35.97)
CIE-LCHlch(47.30, 54.98, 139.13°)
OKLaboklab(53.18% -0.1129 0.0843)
OKLCHoklch(53.18% 0.141 143.3)
XYZxyz(9.4040, 16.2470, 5.3292)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F802F #802F80
analogous
#58802F #2F802F #2F8058
triadic
#2F802F #2F2F80 #802F2F
tetradic
#2F802F #2F5880 #802F80 #80582F
square
#2F802F #2F5880 #802F80 #80582F
split-complementary
#2F802F #582F80 #802F58
monochromatic
#0E260E #1F531F #2F802F #3FAD3F #63C663

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F802F#FFFFFF#000000##FFFFFF
##2F802F1.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)
#837426
Deuteranopia (green-blind)
#796E36
Tritanopia (blue-blind)
#1F7C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f802f;
/* rgb */ color: rgb(47, 128, 47);
/* oklch */ color: oklch(53.2% 0.141 143.3);
Tailwind
colors: {
  custom: {
    50: '#71a66b',
    500: '#2f802f',
    950: '#000000',
  },
}
SCSS
$custom: #2f802f;
$custom-light: #71a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f802f",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53179,
    "c": 0.14091,
    "h": 143.3
  },
  "luminance": 0.16248
}

Semantic roles & 50–950 ramp

primary
#2F802F
secondary
#AD5EAD
accent
#52D6D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F802F

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

Preview Lab → · Contrast checker → · Palette generator →

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