#2F982D#2F982D

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

Color values

HEX#2F982D
RGBrgb(47, 152, 45)
HSLhsl(119, 54%, 39%)
HSVhsv(119, 70%, 60%)
CMYKcmyk(69.1%, 0%, 70.4%, 40.4%)
CIE-LABlab(55.33, -50.67, 45.66)
CIE-LCHlch(55.33, 68.21, 137.98°)
OKLaboklab(59.82% -0.1377 0.1045)
OKLCHoklch(59.82% 0.173 142.8)
XYZxyz(12.8734, 23.2489, 6.2912)
Luminance0.2325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F982D #962D98
analogous
#64982D #2F982D #2D9860
triadic
#2F982D #2D2F98 #982D2F
tetradic
#2F982D #2D6498 #962D98 #98602D
square
#2F982D #2D6498 #962D98 #98602D
split-complementary
#2F982D #602D98 #982D64
monochromatic
#123A11 #20691F #2F982D #3FC53D #6ED36C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F982D#FFFFFF#000000##000000
##2F982D1.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)
#9B8A1D
Deuteranopia (green-blind)
#8F8137
Tritanopia (blue-blind)
#149383
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f982d;
/* rgb */ color: rgb(47, 152, 45);
/* oklch */ color: oklch(59.8% 0.173 142.8);
Tailwind
colors: {
  custom: {
    50: '#77b76c',
    500: '#2f982d',
    950: '#000000',
  },
}
SCSS
$custom: #2f982d;
$custom-light: #77b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f982d",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 118.879,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59817,
    "c": 0.17288,
    "h": 142.8
  },
  "luminance": 0.2325
}

Semantic roles & 50–950 ramp

primary
#2F982D
secondary
#B966BA
accent
#4ADEDB
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F982D

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

Preview Lab → · Contrast checker → · Palette generator →

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