#2A864A#2A864A

#2A864A is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.1% C 0.126 H 151.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2A864A
RGBrgb(42, 134, 74)
HSLhsl(141, 52%, 35%)
HSVhsv(141, 69%, 53%)
CMYKcmyk(68.7%, 0%, 44.8%, 47.5%)
CIE-LABlab(49.54, -40.96, 24.63)
CIE-LCHlch(49.54, 47.79, 148.98°)
OKLaboklab(55.11% -0.1105 0.0607)
OKLCHoklch(55.11% 0.126 151.2)
XYZxyz(10.7151, 18.0357, 9.3938)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A864A #862A66
analogous
#38862A #2A864A #2A8678
triadic
#2A864A #4A2A86 #864A2A
tetradic
#2A864A #2A3886 #862A66 #86782A
square
#2A864A #2A3886 #862A66 #86782A
split-complementary
#2A864A #782A86 #862A38
monochromatic
#0D2917 #1B5730 #2A864A #39B564 #5ECD84

Accessibility & contrast

On white

4.56
#2A864A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2A864A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A864A
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A864A#FFFFFF#000000##000000
##2A864A1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B46
Deuteranopia (green-blind)
#7B734E
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a864a;
/* rgb */ color: rgb(42, 134, 74);
/* oklch */ color: oklch(55.1% 0.126 151.2);
Tailwind
colors: {
  custom: {
    50: '#70aa7d',
    500: '#2a864a',
    950: '#000000',
  },
}
SCSS
$custom: #2a864a;
$custom-light: #70aa7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a864a",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 74
  },
  "hsl": {
    "h": 140.87,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55107,
    "c": 0.12605,
    "h": 151.2
  },
  "luminance": 0.18037
}

Semantic roles & 50–950 ramp

primary
#2A864A
secondary
#B25A93
accent
#4CAADC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A864A

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

Preview Lab → · Contrast checker → · Palette generator →

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