#2A864B#2A864B

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

Color values

HEX#2A864B
RGBrgb(42, 134, 75)
HSLhsl(142, 52%, 35%)
HSVhsv(142, 69%, 53%)
CMYKcmyk(68.7%, 0%, 44%, 47.5%)
CIE-LABlab(49.56, -40.77, 24.10)
CIE-LCHlch(49.56, 47.36, 149.42°)
OKLaboklab(55.13% -0.11 0.0595)
OKLCHoklch(55.13% 0.125 151.6)
XYZxyz(10.7491, 18.0493, 9.5726)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A864B #862A65
analogous
#37862A #2A864B #2A8679
triadic
#2A864B #4B2A86 #864B2A
tetradic
#2A864B #2A3786 #862A65 #86792A
square
#2A864B #2A3786 #862A65 #86792A
split-complementary
#2A864B #792A86 #862A37
monochromatic
#0D2917 #1B5731 #2A864B #39B565 #5ECD86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A864B#FFFFFF#000000##000000
##2A864B1.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)
#867B47
Deuteranopia (green-blind)
#7B734F
Tritanopia (blue-blind)
#008478
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a864b;
/* rgb */ color: rgb(42, 134, 75);
/* oklch */ color: oklch(55.1% 0.125 151.6);
Tailwind
colors: {
  custom: {
    50: '#6faa7e',
    500: '#2a864b',
    950: '#000000',
  },
}
SCSS
$custom: #2a864b;
$custom-light: #6faa7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a864b",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 75
  },
  "hsl": {
    "h": 141.522,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55126,
    "c": 0.12507,
    "h": 151.6
  },
  "luminance": 0.1805
}

Semantic roles & 50–950 ramp

primary
#2A864B
secondary
#B25A92
accent
#4CA8DC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A864B

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

Preview Lab → · Contrast checker → · Palette generator →

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