#2A8729#2A8729

#2A8729 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.157 H 142.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2A8729
RGBrgb(42, 135, 41)
HSLhsl(119, 53%, 35%)
HSVhsv(119, 70%, 53%)
CMYKcmyk(68.9%, 0%, 69.6%, 47.1%)
CIE-LABlab(49.47, -46.01, 41.07)
CIE-LCHlch(49.47, 61.68, 138.25°)
OKLaboklab(54.92% -0.125 0.0944)
OKLCHoklch(54.92% 0.157 142.9)
XYZxyz(10.0185, 17.9792, 5.0398)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8729 #862987
analogous
#598729 #2A8729 #298757
triadic
#2A8729 #292A87 #87292A
tetradic
#2A8729 #295987 #862987 #875729
square
#2A8729 #295987 #862987 #875729
split-complementary
#2A8729 #572987 #872959
monochromatic
#0D290C #1B581B #2A8729 #39B637 #5ECE5D

Accessibility & contrast

On white

4.57
#2A8729 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2A8729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8729
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8729#FFFFFF#000000##000000
##2A87291.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1C
Deuteranopia (green-blind)
#7F7332
Tritanopia (blue-blind)
#138374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a8729;
/* rgb */ color: rgb(42, 135, 41);
/* oklch */ color: oklch(54.9% 0.157 142.9);
Tailwind
colors: {
  custom: {
    50: '#71ab68',
    500: '#2a8729',
    950: '#000000',
  },
}
SCSS
$custom: #2a8729;
$custom-light: #71ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8729",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 119.362,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54919,
    "c": 0.15666,
    "h": 142.9
  },
  "luminance": 0.1798
}

Semantic roles & 50–950 ramp

primary
#2A8729
secondary
#B259B3
accent
#4BDDDB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8729

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

Preview Lab → · Contrast checker → · Palette generator →

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