#2A952A#2A952A

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

Color values

HEX#2A952A
RGBrgb(42, 149, 42)
HSLhsl(120, 56%, 37%)
HSVhsv(120, 72%, 58%)
CMYKcmyk(71.8%, 0%, 71.8%, 41.6%)
CIE-LABlab(54.19, -50.88, 45.65)
CIE-LCHlch(54.19, 68.35, 138.10°)
OKLaboklab(58.83% -0.1381 0.1042)
OKLCHoklch(58.83% 0.173 143)
XYZxyz(12.1195, 22.1530, 5.8273)
Luminance0.2215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A952A #952A95
analogous
#60952A #2A952A #2A9560
triadic
#2A952A #2A2A95 #952A2A
tetradic
#2A952A #2A6095 #952A95 #95602A
square
#2A952A #2A6095 #952A95 #95602A
split-complementary
#2A952A #602A95 #952A60
monochromatic
#0F360F #1D651D #2A952A #37C537 #66D466

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A952A#FFFFFF#000000##000000
##2A952A1.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)
#988719
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#069180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a952a;
/* rgb */ color: rgb(42, 149, 42);
/* oklch */ color: oklch(58.8% 0.173 143.0);
Tailwind
colors: {
  custom: {
    50: '#74b56a',
    500: '#2a952a',
    950: '#000000',
  },
}
SCSS
$custom: #2a952a;
$custom-light: #74b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a952a",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58832,
    "c": 0.173,
    "h": 143
  },
  "luminance": 0.22154
}

Semantic roles & 50–950 ramp

primary
#2A952A
secondary
#BA61BA
accent
#48DFDF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A952A

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

Preview Lab → · Contrast checker → · Palette generator →

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