#2F982E#2F982E

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

Color values

HEX#2F982E
RGBrgb(47, 152, 46)
HSLhsl(119, 54%, 39%)
HSVhsv(119, 70%, 60%)
CMYKcmyk(69.1%, 0%, 69.7%, 40.4%)
CIE-LABlab(55.34, -50.58, 45.26)
CIE-LCHlch(55.34, 67.87, 138.18°)
OKLaboklab(59.83% -0.1374 0.1038)
OKLCHoklch(59.83% 0.172 142.9)
XYZxyz(12.8929, 23.2567, 6.3938)
Luminance0.2326 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F982E #972E98
analogous
#64982E #2F982E #2E9862
triadic
#2F982E #2E2F98 #982E2F
tetradic
#2F982E #2E6498 #972E98 #98622E
square
#2F982E #2E6498 #972E98 #98622E
split-complementary
#2F982E #622E98 #982E64
monochromatic
#123A12 #206920 #2F982E #40C53E #6ED36D

Accessibility & contrast

On white

3.72
#2F982E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F982E#FFFFFF#000000##000000
##2F982E1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A1F
Deuteranopia (green-blind)
#8F8138
Tritanopia (blue-blind)
#139483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f982e;
/* rgb */ color: rgb(47, 152, 46);
/* oklch */ color: oklch(59.8% 0.172 142.9);
Tailwind
colors: {
  custom: {
    50: '#77b76c',
    500: '#2f982e',
    950: '#000000',
  },
}
SCSS
$custom: #2f982e;
$custom-light: #77b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f982e",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 119.434,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59826,
    "c": 0.17219,
    "h": 142.9
  },
  "luminance": 0.23258
}

Semantic roles & 50–950 ramp

primary
#2F982E
secondary
#B968BA
accent
#4BDDDC
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F982E

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

Preview Lab → · Contrast checker → · Palette generator →

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