#2A8652#2A8652

#2A8652 is a mid, moderate green. Relative luminance 0.182; OKLCH L 55.3% C 0.118 H 154.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2A8652
RGBrgb(42, 134, 82)
HSLhsl(146, 52%, 35%)
HSVhsv(146, 69%, 53%)
CMYKcmyk(68.7%, 0%, 38.8%, 47.5%)
CIE-LABlab(49.68, -39.42, 20.36)
CIE-LCHlch(49.68, 44.37, 152.68°)
OKLaboklab(55.27% -0.1066 0.0509)
OKLCHoklch(55.27% 0.118 154.5)
XYZxyz(11.0020, 18.1504, 10.9046)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8652 #862A5E
analogous
#30862A #2A8652 #2A8680
triadic
#2A8652 #522A86 #86522A
tetradic
#2A8652 #2A3086 #862A5E #86802A
square
#2A8652 #2A3086 #862A5E #86802A
split-complementary
#2A8652 #802A86 #862A30
monochromatic
#0D2919 #1B5735 #2A8652 #39B56F #5ECD8E

Accessibility & contrast

On white

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

On black

4.63
#2A8652 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8652
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8652#FFFFFF#000000##000000
##2A86521.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B4F
Deuteranopia (green-blind)
#7A7355
Tritanopia (blue-blind)
#008479
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a8652;
/* rgb */ color: rgb(42, 134, 82);
/* oklch */ color: oklch(55.3% 0.118 154.5);
Tailwind
colors: {
  custom: {
    50: '#6faa83',
    500: '#2a8652',
    950: '#000000',
  },
}
SCSS
$custom: #2a8652;
$custom-light: #6faa83;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8652",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 82
  },
  "hsl": {
    "h": 146.087,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55266,
    "c": 0.11814,
    "h": 154.5
  },
  "luminance": 0.18152
}

Semantic roles & 50–950 ramp

primary
#2A8652
secondary
#B25A8C
accent
#4C9DDC
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A8652

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

Preview Lab → · Contrast checker → · Palette generator →

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