#2A971E#2A971E

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

Color values

HEX#2A971E
RGBrgb(42, 151, 30)
HSLhsl(114, 67%, 35%)
HSVhsv(114, 80%, 59%)
CMYKcmyk(72.2%, 0%, 80.1%, 40.8%)
CIE-LABlab(54.78, -52.49, 50.57)
CIE-LCHlch(54.78, 72.89, 136.07°)
OKLaboklab(59.3% -0.1431 0.1128)
OKLCHoklch(59.3% 0.182 141.8)
XYZxyz(12.2551, 22.7179, 4.9672)
Luminance0.2272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A971E #8B1E97
analogous
#66971E #2A971E #1E974F
triadic
#2A971E #1E2A97 #971E2A
tetradic
#2A971E #1E6697 #8B1E97 #974F1E
square
#2A971E #1E6697 #8B1E97 #974F1E
split-complementary
#2A971E #4F1E97 #971E66
monochromatic
#0E310A #1C6414 #2A971E #38CA28 #60DD53

Accessibility & contrast

On white

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

On black

5.54
#2A971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A971E
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A971E#FFFFFF#000000##000000
##2A971E1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a971e;
/* rgb */ color: rgb(42, 151, 30);
/* oklch */ color: oklch(59.3% 0.182 141.8);
Tailwind
colors: {
  custom: {
    50: '#75b764',
    500: '#2a971e',
    950: '#000000',
  },
}
SCSS
$custom: #2a971e;
$custom-light: #75b764;
$custom-dark: #000000;
JSON
{
  "hex": "#2a971e",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 114.05,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59298,
    "c": 0.1822,
    "h": 141.8
  },
  "luminance": 0.22719
}

Semantic roles & 50–950 ramp

primary
#2A971E
secondary
#B551C0
accent
#3EEAD9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A971E

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

Preview Lab → · Contrast checker → · Palette generator →

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