#2A862A#2A862A

#2A862A is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.155 H 143.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2A862A
RGBrgb(42, 134, 42)
HSLhsl(120, 52%, 35%)
HSVhsv(120, 69%, 53%)
CMYKcmyk(68.7%, 0%, 68.7%, 47.5%)
CIE-LABlab(49.14, -45.55, 40.28)
CIE-LCHlch(49.14, 60.80, 138.51°)
OKLaboklab(54.65% -0.1237 0.0929)
OKLCHoklch(54.65% 0.155 143.1)
XYZxyz(9.8973, 17.7086, 5.0865)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A862A #862A86
analogous
#58862A #2A862A #2A8658
triadic
#2A862A #2A2A86 #862A2A
tetradic
#2A862A #2A5886 #862A86 #86582A
square
#2A862A #2A5886 #862A86 #86582A
split-complementary
#2A862A #582A86 #862A58
monochromatic
#0D290D #1B571B #2A862A #39B539 #5ECD5E

Accessibility & contrast

On white

4.62
#2A862A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2A862A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A862A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A862A#FFFFFF#000000##FFFFFF
##2A862A1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89791E
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#138273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a862a;
/* rgb */ color: rgb(42, 134, 42);
/* oklch */ color: oklch(54.6% 0.155 143.1);
Tailwind
colors: {
  custom: {
    50: '#71aa68',
    500: '#2a862a',
    950: '#000000',
  },
}
SCSS
$custom: #2a862a;
$custom-light: #71aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#2a862a",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54648,
    "c": 0.15468,
    "h": 143.1
  },
  "luminance": 0.1771
}

Semantic roles & 50–950 ramp

primary
#2A862A
secondary
#B25AB2
accent
#4CDCDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A862A

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

Preview Lab → · Contrast checker → · Palette generator →

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