#2A8930#2A8930

#2A8930 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.154 H 144.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2A8930
RGBrgb(42, 137, 48)
HSLhsl(124, 53%, 35%)
HSVhsv(124, 69%, 54%)
CMYKcmyk(69.3%, 0%, 65%, 46.3%)
CIE-LABlab(50.21, -45.99, 38.75)
CIE-LCHlch(50.21, 60.14, 139.88°)
OKLaboklab(55.55% -0.1246 0.0903)
OKLCHoklch(55.55% 0.154 144.1)
XYZxyz(10.4334, 18.5959, 5.8352)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8930 #892A83
analogous
#54892A #2A8930 #2A895F
triadic
#2A8930 #302A89 #89302A
tetradic
#2A8930 #2A5489 #892A83 #895F2A
square
#2A8930 #2A5489 #892A83 #895F2A
split-complementary
#2A8930 #5F2A89 #892A54
monochromatic
#0D2B0F #1C5A20 #2A8930 #38B840 #5FCE66

Accessibility & contrast

On white

4.45
#2A8930 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2A8930 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8930
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8930#FFFFFF#000000##000000
##2A89301.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C26
Deuteranopia (green-blind)
#807438
Tritanopia (blue-blind)
#0F8576
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8930;
/* rgb */ color: rgb(42, 137, 48);
/* oklch */ color: oklch(55.6% 0.154 144.1);
Tailwind
colors: {
  custom: {
    50: '#71ac6c',
    500: '#2a8930',
    950: '#000000',
  },
}
SCSS
$custom: #2a8930;
$custom-light: #71ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8930",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 48
  },
  "hsl": {
    "h": 123.789,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55552,
    "c": 0.15387,
    "h": 144.1
  },
  "luminance": 0.18597
}

Semantic roles & 50–950 ramp

primary
#2A8930
secondary
#B45BAE
accent
#4BD3DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8930

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

Preview Lab → · Contrast checker → · Palette generator →

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