#2B971D#2B971D

#2B971D is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.3% C 0.182 H 141.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2B971D
RGBrgb(43, 151, 29)
HSLhsl(113, 68%, 35%)
HSVhsv(113, 81%, 59%)
CMYKcmyk(71.5%, 0%, 80.8%, 40.8%)
CIE-LABlab(54.80, -52.37, 50.91)
CIE-LCHlch(54.80, 73.04, 135.81°)
OKLaboklab(59.32% -0.1429 0.1134)
OKLCHoklch(59.32% 0.182 141.6)
XYZxyz(12.2840, 22.7342, 4.9029)
Luminance0.2274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B971D #891D97
analogous
#68971D #2B971D #1D974C
triadic
#2B971D #1D2B97 #971D2B
tetradic
#2B971D #1D6897 #891D97 #974C1D
square
#2B971D #1D6897 #891D97 #974C1D
split-complementary
#2B971D #4C1D97 #971D68
monochromatic
#0E3009 #1C6413 #2B971D #3ACA27 #61DE51

Accessibility & contrast

On white

3.79
#2B971D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B971D#FFFFFF#000000##000000
##2B971D1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#0E9281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2b971d;
/* rgb */ color: rgb(43, 151, 29);
/* oklch */ color: oklch(59.3% 0.182 141.6);
Tailwind
colors: {
  custom: {
    50: '#76b764',
    500: '#2b971d',
    950: '#000000',
  },
}
SCSS
$custom: #2b971d;
$custom-light: #76b764;
$custom-dark: #000000;
JSON
{
  "hex": "#2b971d",
  "rgb": {
    "r": 43,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 113.115,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59317,
    "c": 0.18237,
    "h": 141.6
  },
  "luminance": 0.22736
}

Semantic roles & 50–950 ramp

primary
#2B971D
secondary
#B34FC0
accent
#3DEBD7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2B971D

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

Preview Lab → · Contrast checker → · Palette generator →

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