#2A8933#2A8933

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

Color values

HEX#2A8933
RGBrgb(42, 137, 51)
HSLhsl(126, 53%, 35%)
HSVhsv(126, 69%, 54%)
CMYKcmyk(69.3%, 0%, 62.8%, 46.3%)
CIE-LABlab(50.24, -45.63, 37.38)
CIE-LCHlch(50.24, 58.99, 140.68°)
OKLaboklab(55.59% -0.1235 0.0877)
OKLCHoklch(55.59% 0.151 144.6)
XYZxyz(10.4974, 18.6215, 6.1724)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8933 #892A80
analogous
#51892A #2A8933 #2A8962
triadic
#2A8933 #332A89 #89332A
tetradic
#2A8933 #2A5189 #892A80 #89622A
square
#2A8933 #2A5189 #892A80 #89622A
split-complementary
#2A8933 #622A89 #892A51
monochromatic
#0D2B10 #1C5A22 #2A8933 #38B844 #5FCE6A

Accessibility & contrast

On white

4.44
#2A8933 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8933#FFFFFF#000000##000000
##2A89331.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C2A
Deuteranopia (green-blind)
#80753A
Tritanopia (blue-blind)
#0D8577
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8933;
/* rgb */ color: rgb(42, 137, 51);
/* oklch */ color: oklch(55.6% 0.151 144.6);
Tailwind
colors: {
  custom: {
    50: '#71ac6e',
    500: '#2a8933',
    950: '#000000',
  },
}
SCSS
$custom: #2a8933;
$custom-light: #71ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8933",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 51
  },
  "hsl": {
    "h": 125.684,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55587,
    "c": 0.15144,
    "h": 144.6
  },
  "luminance": 0.18623
}

Semantic roles & 50–950 ramp

primary
#2A8933
secondary
#B45BAB
accent
#4BCFDC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8933

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

Preview Lab → · Contrast checker → · Palette generator →

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