#2A8A39#2A8A39

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

Color values

HEX#2A8A39
RGBrgb(42, 138, 57)
HSLhsl(129, 53%, 35%)
HSVhsv(129, 70%, 54%)
CMYKcmyk(69.6%, 0%, 58.7%, 45.9%)
CIE-LABlab(50.64, -45.23, 34.93)
CIE-LCHlch(50.64, 57.14, 142.32°)
OKLaboklab(55.94% -0.1221 0.0829)
OKLCHoklch(55.94% 0.148 145.8)
XYZxyz(10.7811, 18.9635, 6.9622)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A39 #8A2A7B
analogous
#4B8A2A #2A8A39 #2A8A69
triadic
#2A8A39 #392A8A #8A392A
tetradic
#2A8A39 #2A4B8A #8A2A7B #8A692A
square
#2A8A39 #2A4B8A #8A2A7B #8A692A
split-complementary
#2A8A39 #692A8A #8A2A4B
monochromatic
#0D2C12 #1C5B26 #2A8A39 #38B94C #60CF71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8A39#FFFFFF#000000##000000
##2A8A391.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)
#8C7D31
Deuteranopia (green-blind)
#81753F
Tritanopia (blue-blind)
#078778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8a39;
/* rgb */ color: rgb(42, 138, 57);
/* oklch */ color: oklch(55.9% 0.148 145.8);
Tailwind
colors: {
  custom: {
    50: '#71ad72',
    500: '#2a8a39',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a39;
$custom-light: #71ad72;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a39",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 57
  },
  "hsl": {
    "h": 129.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55942,
    "c": 0.14762,
    "h": 145.8
  },
  "luminance": 0.18965
}

Semantic roles & 50–950 ramp

primary
#2A8A39
secondary
#B45BA6
accent
#4BC6DD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2A8A39

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

Preview Lab → · Contrast checker → · Palette generator →

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