#2A942E#2A942E

#2A942E is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.6% C 0.169 H 143.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2A942E
RGBrgb(42, 148, 46)
HSLhsl(122, 56%, 37%)
HSVhsv(122, 72%, 58%)
CMYKcmyk(71.6%, 0%, 68.9%, 42%)
CIE-LABlab(53.89, -50.14, 43.67)
CIE-LCHlch(53.89, 66.50, 138.95°)
OKLaboklab(58.59% -0.1359 0.1005)
OKLCHoklch(58.59% 0.169 143.5)
XYZxyz(12.0371, 21.8680, 6.1708)
Luminance0.2187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A942E #942A90
analogous
#5B942A #2A942E #2A9463
triadic
#2A942E #2E2A94 #942E2A
tetradic
#2A942E #2A5B94 #942A90 #94632A
square
#2A942E #2A5B94 #942A90 #94632A
split-complementary
#2A942E #632A94 #942A5B
monochromatic
#0F3510 #1C641F #2A942E #38C43D #65D369

Accessibility & contrast

On white

3.91
#2A942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#2A942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A942E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A942E#FFFFFF#000000##000000
##2A942E1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978620
Deuteranopia (green-blind)
#8B7E38
Tritanopia (blue-blind)
#05907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a942e;
/* rgb */ color: rgb(42, 148, 46);
/* oklch */ color: oklch(58.6% 0.169 143.5);
Tailwind
colors: {
  custom: {
    50: '#74b46c',
    500: '#2a942e',
    950: '#000000',
  },
}
SCSS
$custom: #2a942e;
$custom-light: #74b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a942e",
  "rgb": {
    "r": 42,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 122.264,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58591,
    "c": 0.16906,
    "h": 143.5
  },
  "luminance": 0.21869
}

Semantic roles & 50–950 ramp

primary
#2A942E
secondary
#B960B6
accent
#49D9DF
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A942E

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

Preview Lab → · Contrast checker → · Palette generator →

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