#2F802A#2F802A

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

Color values

HEX#2F802A
RGBrgb(47, 128, 42)
HSLhsl(117, 51%, 33%)
HSVhsv(117, 67%, 50%)
CMYKcmyk(63.3%, 0%, 67.2%, 49.8%)
CIE-LABlab(47.25, -42.14, 38.26)
CIE-LCHlch(47.25, 56.92, 137.77°)
OKLaboklab(53.12% -0.1147 0.0886)
OKLCHoklch(53.12% 0.145 142.3)
XYZxyz(9.3089, 16.2090, 4.8281)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F802A #7B2A80
analogous
#5A802A #2F802A #2A8050
triadic
#2F802A #2A2F80 #802A2F
tetradic
#2F802A #2A5A80 #7B2A80 #80502A
square
#2F802A #2A5A80 #7B2A80 #80502A
split-complementary
#2F802A #502A80 #802A5A
monochromatic
#0D240C #1E521B #2F802A #40AE39 #62C95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F802A#FFFFFF#000000##FFFFFF
##2F802A1.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)
#83741F
Deuteranopia (green-blind)
#796D32
Tritanopia (blue-blind)
#217C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f802a;
/* rgb */ color: rgb(47, 128, 42);
/* oklch */ color: oklch(53.1% 0.145 142.3);
Tailwind
colors: {
  custom: {
    50: '#72a668',
    500: '#2f802a',
    950: '#000000',
  },
}
SCSS
$custom: #2f802a;
$custom-light: #72a668;
$custom-dark: #000000;
JSON
{
  "hex": "#2f802a",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 116.512,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53123,
    "c": 0.14496,
    "h": 142.3
  },
  "luminance": 0.1621
}

Semantic roles & 50–950 ramp

primary
#2F802A
secondary
#AA57AF
accent
#4EDAD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2F802A

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

Preview Lab → · Contrast checker → · Palette generator →

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