#2A952F#2A952F

#2A952F is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.170 H 143.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2A952F
RGBrgb(42, 149, 47)
HSLhsl(123, 56%, 37%)
HSVhsv(123, 72%, 58%)
CMYKcmyk(71.8%, 0%, 68.5%, 41.6%)
CIE-LABlab(54.23, -50.39, 43.61)
CIE-LCHlch(54.23, 66.64, 139.12°)
OKLaboklab(58.88% -0.1366 0.1005)
OKLCHoklch(58.88% 0.17 143.6)
XYZxyz(12.2146, 22.1910, 6.3283)
Luminance0.2219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A952F #952A90
analogous
#5A952A #2A952F #2A9565
triadic
#2A952F #2F2A95 #952F2A
tetradic
#2A952F #2A5A95 #952A90 #95652A
square
#2A952F #2A5A95 #952A90 #95652A
split-complementary
#2A952F #652A95 #952A5A
monochromatic
#0F3611 #1D6520 #2A952F #37C53E #66D46B

Accessibility & contrast

On white

3.86
#2A952F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#2A952F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A952F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A952F#FFFFFF#000000##000000
##2A952F1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988721
Deuteranopia (green-blind)
#8C7E38
Tritanopia (blue-blind)
#039180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a952f;
/* rgb */ color: rgb(42, 149, 47);
/* oklch */ color: oklch(58.9% 0.170 143.6);
Tailwind
colors: {
  custom: {
    50: '#74b56d',
    500: '#2a952f',
    950: '#000000',
  },
}
SCSS
$custom: #2a952f;
$custom-light: #74b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a952f",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 122.804,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58878,
    "c": 0.16955,
    "h": 143.6
  },
  "luminance": 0.22192
}

Semantic roles & 50–950 ramp

primary
#2A952F
secondary
#BA61B6
accent
#48D8DF
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A952F

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

Preview Lab → · Contrast checker → · Palette generator →

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