#2D971C#2D971C

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

Color values

HEX#2D971C
RGBrgb(45, 151, 28)
HSLhsl(112, 69%, 35%)
HSVhsv(112, 81%, 59%)
CMYKcmyk(70.2%, 0%, 81.5%, 40.8%)
CIE-LABlab(54.84, -52.04, 51.27)
CIE-LCHlch(54.84, 73.05, 135.42°)
OKLaboklab(59.36% -0.1421 0.114)
OKLCHoklch(59.36% 0.182 141.3)
XYZxyz(12.3577, 22.7736, 4.8429)
Luminance0.2278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D971C #861C97
analogous
#6B971C #2D971C #1C9748
triadic
#2D971C #1C2D97 #971C2D
tetradic
#2D971C #1C6B97 #861C97 #97481C
square
#2D971C #1C6B97 #861C97 #97481C
split-complementary
#2D971C #481C97 #971C6B
monochromatic
#0E3009 #1E6312 #2D971C #3CCB26 #63DE4F

Accessibility & contrast

On white

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

On black

5.56
#2D971C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D971C
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D971C#FFFFFF#000000##000000
##2D971C1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d971c;
/* rgb */ color: rgb(45, 151, 28);
/* oklch */ color: oklch(59.4% 0.182 141.3);
Tailwind
colors: {
  custom: {
    50: '#77b763',
    500: '#2d971c',
    950: '#000000',
  },
}
SCSS
$custom: #2d971c;
$custom-light: #77b763;
$custom-dark: #000000;
JSON
{
  "hex": "#2d971c",
  "rgb": {
    "r": 45,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 111.707,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59362,
    "c": 0.18217,
    "h": 141.3
  },
  "luminance": 0.22775
}

Semantic roles & 50–950 ramp

primary
#2D971C
secondary
#B14EC1
accent
#3CECD3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2D971C

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

Preview Lab → · Contrast checker → · Palette generator →

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