#2A864C#2A864C

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

Color values

HEX#2A864C
RGBrgb(42, 134, 76)
HSLhsl(142, 52%, 35%)
HSVhsv(142, 69%, 53%)
CMYKcmyk(68.7%, 0%, 43.3%, 47.5%)
CIE-LABlab(49.57, -40.59, 23.57)
CIE-LCHlch(49.57, 46.93, 149.86°)
OKLaboklab(55.15% -0.1095 0.0583)
OKLCHoklch(55.15% 0.124 152)
XYZxyz(10.7836, 18.0631, 9.7543)
Luminance0.1806 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A864C #862A64
analogous
#36862A #2A864C #2A867A
triadic
#2A864C #4C2A86 #864C2A
tetradic
#2A864C #2A3686 #862A64 #867A2A
square
#2A864C #2A3686 #862A64 #867A2A
split-complementary
#2A864C #7A2A86 #862A36
monochromatic
#0D2917 #1B5732 #2A864C #39B566 #5ECD87

Accessibility & contrast

On white

4.55
#2A864C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A864C#FFFFFF#000000##000000
##2A864C1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B48
Deuteranopia (green-blind)
#7B7350
Tritanopia (blue-blind)
#008478
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a864c;
/* rgb */ color: rgb(42, 134, 76);
/* oklch */ color: oklch(55.1% 0.124 152.0);
Tailwind
colors: {
  custom: {
    50: '#6faa7f',
    500: '#2a864c',
    950: '#000000',
  },
}
SCSS
$custom: #2a864c;
$custom-light: #6faa7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a864c",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 76
  },
  "hsl": {
    "h": 142.174,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55145,
    "c": 0.12408,
    "h": 152
  },
  "luminance": 0.18064
}

Semantic roles & 50–950 ramp

primary
#2A864C
secondary
#B25A91
accent
#4CA7DC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A864C

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

Preview Lab → · Contrast checker → · Palette generator →

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