#2A8746#2A8746

#2A8746 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.131 H 149.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2A8746
RGBrgb(42, 135, 70)
HSLhsl(138, 53%, 35%)
HSVhsv(138, 69%, 53%)
CMYKcmyk(68.9%, 0%, 48.1%, 47.1%)
CIE-LABlab(49.81, -42.07, 27.15)
CIE-LCHlch(49.81, 50.07, 147.16°)
OKLaboklab(55.31% -0.1134 0.0664)
OKLCHoklch(55.31% 0.131 149.7)
XYZxyz(10.7235, 18.2612, 8.7528)
Luminance0.1826 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8746 #872A6B
analogous
#3C872A #2A8746 #2A8775
triadic
#2A8746 #462A87 #87462A
tetradic
#2A8746 #2A3C87 #872A6B #87752A
square
#2A8746 #2A3C87 #872A6B #87752A
split-complementary
#2A8746 #752A87 #872A3C
monochromatic
#0D2A16 #1B582E #2A8746 #39B65E #5ECD80

Accessibility & contrast

On white

4.51
#2A8746 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2A8746 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8746
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8746#FFFFFF#000000##000000
##2A87461.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B41
Deuteranopia (green-blind)
#7C734B
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a8746;
/* rgb */ color: rgb(42, 135, 70);
/* oklch */ color: oklch(55.3% 0.131 149.7);
Tailwind
colors: {
  custom: {
    50: '#70ab7a',
    500: '#2a8746',
    950: '#000000',
  },
}
SCSS
$custom: #2a8746;
$custom-light: #70ab7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8746",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 70
  },
  "hsl": {
    "h": 138.065,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55311,
    "c": 0.1314,
    "h": 149.7
  },
  "luminance": 0.18262
}

Semantic roles & 50–950 ramp

primary
#2A8746
secondary
#B35A98
accent
#4CB1DC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8746

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

Preview Lab → · Contrast checker → · Palette generator →

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