#2A8129#2A8129

#2A8129 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.149 H 143.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2A8129
RGBrgb(42, 129, 41)
HSLhsl(119, 52%, 33%)
HSVhsv(119, 68%, 51%)
CMYKcmyk(67.4%, 0%, 68.2%, 49.4%)
CIE-LABlab(47.43, -43.80, 38.87)
CIE-LCHlch(47.43, 58.56, 138.42°)
OKLaboklab(53.23% -0.119 0.0898)
OKLCHoklch(53.23% 0.149 143)
XYZxyz(9.2048, 16.3519, 4.7685)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8129 #802981
analogous
#568129 #2A8129 #298154
triadic
#2A8129 #292A81 #81292A
tetradic
#2A8129 #295681 #802981 #815429
square
#2A8129 #295681 #802981 #815429
split-complementary
#2A8129 #542981 #812956
monochromatic
#0C240B #1B531A #2A8129 #39AF38 #5BCB5A

Accessibility & contrast

On white

4.92
#2A8129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2A8129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8129
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8129#FFFFFF#000000##FFFFFF
##2A81291.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751E
Deuteranopia (green-blind)
#796E31
Tritanopia (blue-blind)
#167D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a8129;
/* rgb */ color: rgb(42, 129, 41);
/* oklch */ color: oklch(53.2% 0.149 143.0);
Tailwind
colors: {
  custom: {
    50: '#70a667',
    500: '#2a8129',
    950: '#000000',
  },
}
SCSS
$custom: #2a8129;
$custom-light: #70a667;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8129",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 119.318,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53232,
    "c": 0.14908,
    "h": 143
  },
  "luminance": 0.16353
}

Semantic roles & 50–950 ramp

primary
#2A8129
secondary
#AF56B0
accent
#4DDBDA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2A8129

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

Preview Lab → · Contrast checker → · Palette generator →

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