#2A864F#2A864F

#2A864F is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.2% C 0.121 H 153.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2A864F
RGBrgb(42, 134, 79)
HSLhsl(144, 52%, 35%)
HSVhsv(144, 69%, 53%)
CMYKcmyk(68.7%, 0%, 41%, 47.5%)
CIE-LABlab(49.62, -40.01, 21.97)
CIE-LCHlch(49.62, 45.65, 151.23°)
OKLaboklab(55.2% -0.1081 0.0547)
OKLCHoklch(55.2% 0.121 153.2)
XYZxyz(10.8903, 18.1058, 10.3165)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A864F #862A61
analogous
#33862A #2A864F #2A867D
triadic
#2A864F #4F2A86 #864F2A
tetradic
#2A864F #2A3386 #862A61 #867D2A
square
#2A864F #2A3386 #862A61 #867D2A
split-complementary
#2A864F #7D2A86 #862A33
monochromatic
#0D2918 #1B5734 #2A864F #39B56A #5ECD8A

Accessibility & contrast

On white

4.54
#2A864F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2A864F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A864F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A864F#FFFFFF#000000##000000
##2A864F1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a864f;
/* rgb */ color: rgb(42, 134, 79);
/* oklch */ color: oklch(55.2% 0.121 153.2);
Tailwind
colors: {
  custom: {
    50: '#6faa81',
    500: '#2a864f',
    950: '#000000',
  },
}
SCSS
$custom: #2a864f;
$custom-light: #6faa81;
$custom-dark: #000000;
JSON
{
  "hex": "#2a864f",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 79
  },
  "hsl": {
    "h": 144.13,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55204,
    "c": 0.12111,
    "h": 153.2
  },
  "luminance": 0.18107
}

Semantic roles & 50–950 ramp

primary
#2A864F
secondary
#B25A8F
accent
#4CA2DC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A864F

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

Preview Lab → · Contrast checker → · Palette generator →

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