#2F802D#2F802D

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

Color values

HEX#2F802D
RGBrgb(47, 128, 45)
HSLhsl(119, 48%, 34%)
HSVhsv(119, 65%, 50%)
CMYKcmyk(63.3%, 0%, 64.8%, 49.8%)
CIE-LABlab(47.28, -41.81, 36.90)
CIE-LCHlch(47.28, 55.77, 138.57°)
OKLaboklab(53.16% -0.1137 0.086)
OKLCHoklch(53.16% 0.143 142.9)
XYZxyz(9.3646, 16.2313, 5.1216)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F802D #7E2D80
analogous
#59802D #2F802D #2D8055
triadic
#2F802D #2D2F80 #802D2F
tetradic
#2F802D #2D5980 #7E2D80 #80552D
square
#2F802D #2D5980 #7E2D80 #80552D
split-complementary
#2F802D #552D80 #802D59
monochromatic
#0E250D #1E531D #2F802D #40AD3D #63C760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F802D#FFFFFF#000000##FFFFFF
##2F802D1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f802d;
/* rgb */ color: rgb(47, 128, 45);
/* oklch */ color: oklch(53.2% 0.143 142.9);
Tailwind
colors: {
  custom: {
    50: '#72a669',
    500: '#2f802d',
    950: '#000000',
  },
}
SCSS
$custom: #2f802d;
$custom-light: #72a669;
$custom-dark: #000000;
JSON
{
  "hex": "#2f802d",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 118.554,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53156,
    "c": 0.14256,
    "h": 142.9
  },
  "luminance": 0.16232
}

Semantic roles & 50–950 ramp

primary
#2F802D
secondary
#AC5BAE
accent
#50D8D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2F802D

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

Preview Lab → · Contrast checker → · Palette generator →

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