#2A8A38#2A8A38

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

Color values

HEX#2A8A38
RGBrgb(42, 138, 56)
HSLhsl(129, 53%, 35%)
HSVhsv(129, 70%, 54%)
CMYKcmyk(69.6%, 0%, 59.4%, 45.9%)
CIE-LABlab(50.63, -45.36, 35.41)
CIE-LCHlch(50.63, 57.55, 142.02°)
OKLaboklab(55.93% -0.1225 0.0839)
OKLCHoklch(55.93% 0.148 145.6)
XYZxyz(10.7564, 18.9536, 6.8321)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A38 #8A2A7C
analogous
#4C8A2A #2A8A38 #2A8A68
triadic
#2A8A38 #382A8A #8A382A
tetradic
#2A8A38 #2A4C8A #8A2A7C #8A682A
square
#2A8A38 #2A4C8A #8A2A7C #8A682A
split-complementary
#2A8A38 #682A8A #8A2A4C
monochromatic
#0D2C12 #1C5B25 #2A8A38 #38B94B #60CF70

Accessibility & contrast

On white

4.38
#2A8A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8A38#FFFFFF#000000##000000
##2A8A381.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D30
Deuteranopia (green-blind)
#81753F
Tritanopia (blue-blind)
#088778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8a38;
/* rgb */ color: rgb(42, 138, 56);
/* oklch */ color: oklch(55.9% 0.148 145.6);
Tailwind
colors: {
  custom: {
    50: '#71ad71',
    500: '#2a8a38',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a38;
$custom-light: #71ad71;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a38",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 56
  },
  "hsl": {
    "h": 128.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55929,
    "c": 0.14849,
    "h": 145.6
  },
  "luminance": 0.18955
}

Semantic roles & 50–950 ramp

primary
#2A8A38
secondary
#B45BA7
accent
#4BC7DD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2A8A38

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

Preview Lab → · Contrast checker → · Palette generator →

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