#2A952B#2A952B

#2A952B is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.8% C 0.172 H 143.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2A952B
RGBrgb(42, 149, 43)
HSLhsl(121, 56%, 37%)
HSVhsv(121, 72%, 58%)
CMYKcmyk(71.8%, 0%, 71.1%, 41.6%)
CIE-LABlab(54.20, -50.78, 45.25)
CIE-LCHlch(54.20, 68.02, 138.30°)
OKLaboklab(58.84% -0.1378 0.1035)
OKLCHoklch(58.84% 0.172 143.1)
XYZxyz(12.1376, 22.1602, 5.9227)
Luminance0.2216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A952B #952A94
analogous
#5E952A #2A952B #2A9561
triadic
#2A952B #2B2A95 #952B2A
tetradic
#2A952B #2A5E95 #952A94 #95612A
square
#2A952B #2A5E95 #952A94 #95612A
split-complementary
#2A952B #612A95 #952A5E
monochromatic
#0F360F #1D651D #2A952B #37C539 #66D467

Accessibility & contrast

On white

3.87
#2A952B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#2A952B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A952B
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A952B#FFFFFF#000000##000000
##2A952B1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871B
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#069180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a952b;
/* rgb */ color: rgb(42, 149, 43);
/* oklch */ color: oklch(58.8% 0.172 143.1);
Tailwind
colors: {
  custom: {
    50: '#74b56a',
    500: '#2a952b',
    950: '#000000',
  },
}
SCSS
$custom: #2a952b;
$custom-light: #74b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a952b",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 43
  },
  "hsl": {
    "h": 120.561,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58841,
    "c": 0.17233,
    "h": 143.1
  },
  "luminance": 0.22162
}

Semantic roles & 50–950 ramp

primary
#2A952B
secondary
#BA61B9
accent
#48DEDF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A952B

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

Preview Lab → · Contrast checker → · Palette generator →

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