#2A972B#2A972B

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

Color values

HEX#2A972B
RGBrgb(42, 151, 43)
HSLhsl(121, 56%, 38%)
HSVhsv(121, 72%, 59%)
CMYKcmyk(72.2%, 0%, 71.5%, 40.8%)
CIE-LABlab(54.86, -51.47, 45.95)
CIE-LCHlch(54.86, 69.00, 138.25°)
OKLaboklab(59.39% -0.1397 0.1049)
OKLCHoklch(59.39% 0.175 143.1)
XYZxyz(12.4567, 22.7985, 6.0291)
Luminance0.2280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A972B #972A96
analogous
#60972A #2A972B #2A9761
triadic
#2A972B #2B2A97 #972B2A
tetradic
#2A972B #2A6097 #972A96 #97612A
square
#2A972B #2A6097 #972A96 #97612A
split-complementary
#2A972B #612A97 #972A60
monochromatic
#0F3710 #1D671D #2A972B #37C739 #67D568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A972B#FFFFFF#000000##000000
##2A972B1.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)
#9A891A
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#039382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a972b;
/* rgb */ color: rgb(42, 151, 43);
/* oklch */ color: oklch(59.4% 0.175 143.1);
Tailwind
colors: {
  custom: {
    50: '#75b76b',
    500: '#2a972b',
    950: '#000000',
  },
}
SCSS
$custom: #2a972b;
$custom-light: #75b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a972b",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 120.55,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59394,
    "c": 0.17471,
    "h": 143.1
  },
  "luminance": 0.228
}

Semantic roles & 50–950 ramp

primary
#2A972B
secondary
#BB62BA
accent
#48DEE0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A972B

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

Preview Lab → · Contrast checker → · Palette generator →

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