#2A8D30#2A8D30

#2A8D30 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.159 H 144.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2A8D30
RGBrgb(42, 141, 48)
HSLhsl(124, 54%, 36%)
HSVhsv(124, 70%, 55%)
CMYKcmyk(70.2%, 0%, 66%, 44.7%)
CIE-LABlab(51.56, -47.44, 40.25)
CIE-LCHlch(51.56, 62.22, 139.69°)
OKLaboklab(56.67% -0.1285 0.0935)
OKLCHoklch(56.67% 0.159 144)
XYZxyz(11.0125, 19.7542, 6.0283)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D30 #8D2A87
analogous
#558D2A #2A8D30 #2A8D61
triadic
#2A8D30 #302A8D #8D302A
tetradic
#2A8D30 #2A558D #8D2A87 #8D612A
square
#2A8D30 #2A558D #8D2A87 #8D612A
split-complementary
#2A8D30 #612A8D #8D2A55
monochromatic
#0E2F10 #1C5E20 #2A8D30 #38BC40 #61D068

Accessibility & contrast

On white

4.24
#2A8D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2A8D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D30
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D30#FFFFFF#000000##000000
##2A8D301.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908025
Deuteranopia (green-blind)
#847838
Tritanopia (blue-blind)
#0B897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8d30;
/* rgb */ color: rgb(42, 141, 48);
/* oklch */ color: oklch(56.7% 0.159 144.0);
Tailwind
colors: {
  custom: {
    50: '#72af6c',
    500: '#2a8d30',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d30;
$custom-light: #72af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d30",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 123.636,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56668,
    "c": 0.15894,
    "h": 144
  },
  "luminance": 0.19755
}

Semantic roles & 50–950 ramp

primary
#2A8D30
secondary
#B65DB1
accent
#4AD5DD
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8D30

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

Preview Lab → · Contrast checker → · Palette generator →

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