#2D982B#2D982B

#2D982B is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.7% C 0.175 H 142.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2D982B
RGBrgb(45, 152, 43)
HSLhsl(119, 56%, 38%)
HSVhsv(119, 72%, 60%)
CMYKcmyk(70.4%, 0%, 71.7%, 40.4%)
CIE-LABlab(55.26, -51.25, 46.39)
CIE-LCHlch(55.26, 69.13, 137.85°)
OKLaboklab(59.75% -0.1393 0.1058)
OKLCHoklch(59.75% 0.175 142.8)
XYZxyz(12.7457, 23.1874, 6.0889)
Luminance0.2319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D982B #962B98
analogous
#63982B #2D982B #2B985F
triadic
#2D982B #2B2D98 #982B2D
tetradic
#2D982B #2B6398 #962B98 #985F2B
square
#2D982B #2B6398 #962B98 #985F2B
split-complementary
#2D982B #5F2B98 #982B63
monochromatic
#113910 #1F681E #2D982B #3CC739 #6BD569

Accessibility & contrast

On white

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

On black

5.64
#2D982B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D982B
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D982B#FFFFFF#000000##000000
##2D982B1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A1A
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#0E9382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2d982b;
/* rgb */ color: rgb(45, 152, 43);
/* oklch */ color: oklch(59.7% 0.175 142.8);
Tailwind
colors: {
  custom: {
    50: '#76b76b',
    500: '#2d982b',
    950: '#000000',
  },
}
SCSS
$custom: #2d982b;
$custom-light: #76b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d982b",
  "rgb": {
    "r": 45,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 118.899,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59746,
    "c": 0.1749,
    "h": 142.8
  },
  "luminance": 0.23189
}

Semantic roles & 50–950 ramp

primary
#2D982B
secondary
#B964BB
accent
#49DFDC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2D982B

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

Preview Lab → · Contrast checker → · Palette generator →

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