#2A9A29#2A9A29

#2A9A29 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.2% C 0.180 H 142.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2A9A29
RGBrgb(42, 154, 41)
HSLhsl(119, 58%, 38%)
HSVhsv(119, 73%, 60%)
CMYKcmyk(72.7%, 0%, 73.4%, 39.6%)
CIE-LABlab(55.85, -52.67, 47.75)
CIE-LCHlch(55.85, 71.10, 137.80°)
OKLaboklab(60.21% -0.143 0.1084)
OKLCHoklch(60.21% 0.18 142.8)
XYZxyz(12.9099, 23.7621, 6.0036)
Luminance0.2376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9A29 #99299A
analogous
#629A29 #2A9A29 #299A60
triadic
#2A9A29 #292A9A #9A292A
tetradic
#2A9A29 #29629A #99299A #9A6029
square
#2A9A29 #29629A #99299A #9A6029
split-complementary
#2A9A29 #60299A #9A2962
monochromatic
#10390F #1D6A1C #2A9A29 #38CA37 #68D767

Accessibility & contrast

On white

3.65
#2A9A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#2A9A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9A29
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9A29#FFFFFF#000000##000000
##2A9A291.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B15
Deuteranopia (green-blind)
#918235
Tritanopia (blue-blind)
#019584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a9a29;
/* rgb */ color: rgb(42, 154, 41);
/* oklch */ color: oklch(60.2% 0.180 142.8);
Tailwind
colors: {
  custom: {
    50: '#75b96a',
    500: '#2a9a29',
    950: '#000000',
  },
}
SCSS
$custom: #2a9a29;
$custom-light: #75b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9a29",
  "rgb": {
    "r": 42,
    "g": 154,
    "b": 41
  },
  "hsl": {
    "h": 119.469,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60207,
    "c": 0.17951,
    "h": 142.8
  },
  "luminance": 0.23764
}

Semantic roles & 50–950 ramp

primary
#2A9A29
secondary
#BC62BD
accent
#47E1E0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2A9A29

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

Preview Lab → · Contrast checker → · Palette generator →

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