#2A952E#2A952E

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

Color values

HEX#2A952E
RGBrgb(42, 149, 46)
HSLhsl(122, 56%, 37%)
HSVhsv(122, 72%, 58%)
CMYKcmyk(71.8%, 0%, 69.1%, 41.6%)
CIE-LABlab(54.22, -50.49, 44.03)
CIE-LCHlch(54.22, 66.99, 138.91°)
OKLaboklab(58.87% -0.1369 0.1013)
OKLCHoklch(58.87% 0.17 143.5)
XYZxyz(12.1947, 22.1831, 6.2233)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A952E #952A91
analogous
#5C952A #2A952E #2A9564
triadic
#2A952E #2E2A95 #952E2A
tetradic
#2A952E #2A5C95 #952A91 #95642A
square
#2A952E #2A5C95 #952A91 #95642A
split-complementary
#2A952E #642A95 #952A5C
monochromatic
#0F3611 #1D651F #2A952E #37C53D #66D46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A952E#FFFFFF#000000##000000
##2A952E1.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)
#988720
Deuteranopia (green-blind)
#8C7E38
Tritanopia (blue-blind)
#049180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a952e;
/* rgb */ color: rgb(42, 149, 46);
/* oklch */ color: oklch(58.9% 0.170 143.5);
Tailwind
colors: {
  custom: {
    50: '#74b56c',
    500: '#2a952e',
    950: '#000000',
  },
}
SCSS
$custom: #2a952e;
$custom-light: #74b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a952e",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 46
  },
  "hsl": {
    "h": 122.243,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58868,
    "c": 0.17027,
    "h": 143.5
  },
  "luminance": 0.22184
}

Semantic roles & 50–950 ramp

primary
#2A952E
secondary
#BA61B7
accent
#48DADF
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A952E

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

Preview Lab → · Contrast checker → · Palette generator →

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