#2A8A30#2A8A30

#2A8A30 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.155 H 144.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2A8A30
RGBrgb(42, 138, 48)
HSLhsl(124, 53%, 35%)
HSVhsv(124, 70%, 54%)
CMYKcmyk(69.6%, 0%, 65.2%, 45.9%)
CIE-LABlab(50.55, -46.35, 39.13)
CIE-LCHlch(50.55, 60.66, 139.83°)
OKLaboklab(55.83% -0.1256 0.0911)
OKLCHoklch(55.83% 0.155 144)
XYZxyz(10.5762, 18.8815, 5.8829)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A30 #8A2A84
analogous
#548A2A #2A8A30 #2A8A60
triadic
#2A8A30 #302A8A #8A302A
tetradic
#2A8A30 #2A548A #8A2A84 #8A602A
square
#2A8A30 #2A548A #8A2A84 #8A602A
split-complementary
#2A8A30 #602A8A #8A2A54
monochromatic
#0D2C0F #1C5B20 #2A8A30 #38B940 #60CF67

Accessibility & contrast

On white

4.40
#2A8A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2A8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A30
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A30#FFFFFF#000000##000000
##2A8A301.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D25
Deuteranopia (green-blind)
#817538
Tritanopia (blue-blind)
#0E8677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8a30;
/* rgb */ color: rgb(42, 138, 48);
/* oklch */ color: oklch(55.8% 0.155 144.0);
Tailwind
colors: {
  custom: {
    50: '#71ad6c',
    500: '#2a8a30',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a30;
$custom-light: #71ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a30",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 123.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55831,
    "c": 0.15515,
    "h": 144
  },
  "luminance": 0.18883
}

Semantic roles & 50–950 ramp

primary
#2A8A30
secondary
#B45BAF
accent
#4BD4DD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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