#2A9B22#2A9B22

#2A9B22 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.4% C 0.185 H 142.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2A9B22
RGBrgb(42, 155, 34)
HSLhsl(116, 64%, 37%)
HSVhsv(116, 78%, 61%)
CMYKcmyk(72.9%, 0%, 78.1%, 39.2%)
CIE-LABlab(56.14, -53.56, 50.57)
CIE-LCHlch(56.14, 73.66, 136.64°)
OKLaboklab(60.43% -0.1458 0.1134)
OKLCHoklch(60.43% 0.185 142.1)
XYZxyz(12.9642, 24.0490, 5.4718)
Luminance0.2405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9B22 #93229B
analogous
#679B22 #2A9B22 #229B57
triadic
#2A9B22 #222A9B #9B222A
tetradic
#2A9B22 #22679B #93229B #9B5722
square
#2A9B22 #22679B #93229B #9B5722
split-complementary
#2A9B22 #57229B #9B2267
monochromatic
#0F370C #1C6917 #2A9B22 #38CD2D #65DB5C

Accessibility & contrast

On white

3.61
#2A9B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#2A9B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9B22
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9B22#FFFFFF#000000##000000
##2A9B221.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C03
Deuteranopia (green-blind)
#928330
Tritanopia (blue-blind)
#039684
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9b22;
/* rgb */ color: rgb(42, 155, 34);
/* oklch */ color: oklch(60.4% 0.185 142.1);
Tailwind
colors: {
  custom: {
    50: '#76ba67',
    500: '#2a9b22',
    950: '#000000',
  },
}
SCSS
$custom: #2a9b22;
$custom-light: #76ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9b22",
  "rgb": {
    "r": 42,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 116.033,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60431,
    "c": 0.18466,
    "h": 142.1
  },
  "luminance": 0.2405
}

Semantic roles & 50–950 ramp

primary
#2A9B22
secondary
#B959C0
accent
#41E7DC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2A9B22

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

Preview Lab → · Contrast checker → · Palette generator →

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