#2A912E#2A912E

#2A912E is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.165 H 143.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2A912E
RGBrgb(42, 145, 46)
HSLhsl(122, 55%, 37%)
HSVhsv(122, 71%, 57%)
CMYKcmyk(71%, 0%, 68.3%, 43.1%)
CIE-LABlab(52.88, -49.09, 42.59)
CIE-LCHlch(52.88, 64.99, 139.06°)
OKLaboklab(57.76% -0.1331 0.0982)
OKLCHoklch(57.76% 0.165 143.6)
XYZxyz(11.5727, 20.9390, 6.0160)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A912E #912A8D
analogous
#5A912A #2A912E #2A9162
triadic
#2A912E #2E2A91 #912E2A
tetradic
#2A912E #2A5A91 #912A8D #91622A
square
#2A912E #2A5A91 #912A8D #91622A
split-complementary
#2A912E #622A91 #912A5A
monochromatic
#0F3210 #1C621F #2A912E #38C03D #63D268

Accessibility & contrast

On white

4.05
#2A912E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#2A912E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A912E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A912E#FFFFFF#000000##000000
##2A912E1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948321
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#088D7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2a912e;
/* rgb */ color: rgb(42, 145, 46);
/* oklch */ color: oklch(57.8% 0.165 143.6);
Tailwind
colors: {
  custom: {
    50: '#73b26c',
    500: '#2a912e',
    950: '#000000',
  },
}
SCSS
$custom: #2a912e;
$custom-light: #73b26c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a912e",
  "rgb": {
    "r": 42,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 122.33,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57759,
    "c": 0.1654,
    "h": 143.6
  },
  "luminance": 0.2094
}

Semantic roles & 50–950 ramp

primary
#2A912E
secondary
#B85FB5
accent
#49D9DE
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A912E

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

Preview Lab → · Contrast checker → · Palette generator →

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