#2D971A#2D971A

#2D971A is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.183 H 141.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2D971A
RGBrgb(45, 151, 26)
HSLhsl(111, 71%, 35%)
HSVhsv(111, 83%, 59%)
CMYKcmyk(70.2%, 0%, 82.8%, 40.8%)
CIE-LABlab(54.83, -52.15, 51.86)
CIE-LCHlch(54.83, 73.55, 135.16°)
OKLaboklab(59.35% -0.1425 0.1149)
OKLCHoklch(59.35% 0.183 141.1)
XYZxyz(12.3346, 22.7644, 4.7210)
Luminance0.2277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D971A #841A97
analogous
#6C971A #2D971A #1A9746
triadic
#2D971A #1A2D97 #971A2D
tetradic
#2D971A #1A6C97 #841A97 #97461A
square
#2D971A #1A6C97 #841A97 #97461A
split-complementary
#2D971A #461A97 #971A6C
monochromatic
#0E2F08 #1D6311 #2D971A #3DCB23 #62E04B

Accessibility & contrast

On white

3.78
#2D971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#2D971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D971A
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D971A#FFFFFF#000000##000000
##2D971A1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#159280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2d971a;
/* rgb */ color: rgb(45, 151, 26);
/* oklch */ color: oklch(59.4% 0.183 141.1);
Tailwind
colors: {
  custom: {
    50: '#77b763',
    500: '#2d971a',
    950: '#000000',
  },
}
SCSS
$custom: #2d971a;
$custom-light: #77b763;
$custom-dark: #000000;
JSON
{
  "hex": "#2d971a",
  "rgb": {
    "r": 45,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 110.88,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59351,
    "c": 0.18307,
    "h": 141.1
  },
  "luminance": 0.22766
}

Semantic roles & 50–950 ramp

primary
#2D971A
secondary
#B04BC2
accent
#3AEDD2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2D971A

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

Preview Lab → · Contrast checker → · Palette generator →

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