#2F802C#2F802C

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

Color values

HEX#2F802C
RGBrgb(47, 128, 44)
HSLhsl(118, 49%, 34%)
HSVhsv(118, 66%, 50%)
CMYKcmyk(63.3%, 0%, 65.6%, 49.8%)
CIE-LABlab(47.27, -41.92, 37.36)
CIE-LCHlch(47.27, 56.15, 138.30°)
OKLaboklab(53.15% -0.114 0.0869)
OKLCHoklch(53.15% 0.143 142.7)
XYZxyz(9.3456, 16.2236, 5.0214)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F802C #7D2C80
analogous
#59802C #2F802C #2C8053
triadic
#2F802C #2C2F80 #802C2F
tetradic
#2F802C #2C5980 #7D2C80 #80532C
square
#2F802C #2C5980 #7D2C80 #80532C
split-complementary
#2F802C #532C80 #802C59
monochromatic
#0E250D #1E521C #2F802C #40AE3C #62C85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F802C#FFFFFF#000000##FFFFFF
##2F802C1.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)
#837422
Deuteranopia (green-blind)
#796D33
Tritanopia (blue-blind)
#207C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f802c;
/* rgb */ color: rgb(47, 128, 44);
/* oklch */ color: oklch(53.1% 0.143 142.7);
Tailwind
colors: {
  custom: {
    50: '#72a669',
    500: '#2f802c',
    950: '#000000',
  },
}
SCSS
$custom: #2f802c;
$custom-light: #72a669;
$custom-dark: #000000;
JSON
{
  "hex": "#2f802c",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 117.857,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53145,
    "c": 0.14338,
    "h": 142.7
  },
  "luminance": 0.16225
}

Semantic roles & 50–950 ramp

primary
#2F802C
secondary
#AB5AAE
accent
#4FD8D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2F802C

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

Preview Lab → · Contrast checker → · Palette generator →

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