#2A8A36#2A8A36

#2A8A36 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.150 H 145.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2A8A36
RGBrgb(42, 138, 54)
HSLhsl(128, 53%, 35%)
HSVhsv(128, 70%, 54%)
CMYKcmyk(69.6%, 0%, 60.9%, 45.9%)
CIE-LABlab(50.61, -45.62, 36.36)
CIE-LCHlch(50.61, 58.34, 141.44°)
OKLaboklab(55.9% -0.1233 0.0858)
OKLCHoklch(55.9% 0.15 145.2)
XYZxyz(10.7085, 18.9344, 6.5797)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A36 #8A2A7E
analogous
#4E8A2A #2A8A36 #2A8A66
triadic
#2A8A36 #362A8A #8A362A
tetradic
#2A8A36 #2A4E8A #8A2A7E #8A662A
square
#2A8A36 #2A4E8A #8A2A7E #8A662A
split-complementary
#2A8A36 #662A8A #8A2A4E
monochromatic
#0D2C11 #1C5B24 #2A8A36 #38B948 #60CF6E

Accessibility & contrast

On white

4.39
#2A8A36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2A8A36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A36
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A36#FFFFFF#000000##000000
##2A8A361.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2D
Deuteranopia (green-blind)
#81753D
Tritanopia (blue-blind)
#0A8678
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8a36;
/* rgb */ color: rgb(42, 138, 54);
/* oklch */ color: oklch(55.9% 0.150 145.2);
Tailwind
colors: {
  custom: {
    50: '#71ad70',
    500: '#2a8a36',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a36;
$custom-light: #71ad70;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a36",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 127.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55903,
    "c": 0.15022,
    "h": 145.2
  },
  "luminance": 0.18936
}

Semantic roles & 50–950 ramp

primary
#2A8A36
secondary
#B45BA9
accent
#4BCBDD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2A8A36

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

Preview Lab → · Contrast checker → · Palette generator →

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