#2A8830#2A8830

#2A8830 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.153 H 144.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2A8830
RGBrgb(42, 136, 48)
HSLhsl(124, 53%, 35%)
HSVhsv(124, 69%, 53%)
CMYKcmyk(69.1%, 0%, 64.7%, 46.7%)
CIE-LABlab(49.87, -45.62, 38.37)
CIE-LCHlch(49.87, 59.61, 139.93°)
OKLaboklab(55.27% -0.1236 0.0895)
OKLCHoklch(55.27% 0.153 144.1)
XYZxyz(10.2919, 18.3129, 5.7881)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8830 #882A82
analogous
#53882A #2A8830 #2A885F
triadic
#2A8830 #302A88 #88302A
tetradic
#2A8830 #2A5388 #882A82 #885F2A
square
#2A8830 #2A5388 #882A82 #885F2A
split-complementary
#2A8830 #5F2A88 #882A53
monochromatic
#0D2A0F #1C591F #2A8830 #38B741 #5FCE66

Accessibility & contrast

On white

4.50
#2A8830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2A8830 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8830
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8830#FFFFFF#000000##000000
##2A88301.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B26
Deuteranopia (green-blind)
#7F7438
Tritanopia (blue-blind)
#0F8475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8830;
/* rgb */ color: rgb(42, 136, 48);
/* oklch */ color: oklch(55.3% 0.153 144.1);
Tailwind
colors: {
  custom: {
    50: '#71ac6c',
    500: '#2a8830',
    950: '#000000',
  },
}
SCSS
$custom: #2a8830;
$custom-light: #71ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8830",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 48
  },
  "hsl": {
    "h": 123.83,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55273,
    "c": 0.15259,
    "h": 144.1
  },
  "luminance": 0.18314
}

Semantic roles & 50–950 ramp

primary
#2A8830
secondary
#B35BAE
accent
#4CD3DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8830

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

Preview Lab → · Contrast checker → · Palette generator →

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