#2F982F#2F982F

#2F982F is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.8% C 0.171 H 143.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2F982F
RGBrgb(47, 152, 47)
HSLhsl(120, 53%, 39%)
HSVhsv(120, 69%, 60%)
CMYKcmyk(69.1%, 0%, 69.1%, 40.4%)
CIE-LABlab(55.34, -50.48, 44.85)
CIE-LCHlch(55.34, 67.52, 138.38°)
OKLaboklab(59.84% -0.1371 0.1031)
OKLCHoklch(59.84% 0.171 143.1)
XYZxyz(12.9128, 23.2647, 6.4988)
Luminance0.2327 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F982F #982F98
analogous
#64982F #2F982F #2F9864
triadic
#2F982F #2F2F98 #982F2F
tetradic
#2F982F #2F6498 #982F98 #98642F
square
#2F982F #2F6498 #982F98 #98642F
split-complementary
#2F982F #642F98 #982F64
monochromatic
#123B12 #216921 #2F982F #40C440 #6FD26F

Accessibility & contrast

On white

3.71
#2F982F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#2F982F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F982F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F982F#FFFFFF#000000##000000
##2F982F1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A20
Deuteranopia (green-blind)
#8F8139
Tritanopia (blue-blind)
#139483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f982f;
/* rgb */ color: rgb(47, 152, 47);
/* oklch */ color: oklch(59.8% 0.171 143.1);
Tailwind
colors: {
  custom: {
    50: '#77b76d',
    500: '#2f982f',
    950: '#000000',
  },
}
SCSS
$custom: #2f982f;
$custom-light: #77b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f982f",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59835,
    "c": 0.17149,
    "h": 143.1
  },
  "luminance": 0.23266
}

Semantic roles & 50–950 ramp

primary
#2F982F
secondary
#BA69BA
accent
#4CDCDC
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F982F

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

Preview Lab → · Contrast checker → · Palette generator →

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