#2A8B31#2A8B31

#2A8B31 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.156 H 144.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2A8B31
RGBrgb(42, 139, 49)
HSLhsl(124, 54%, 35%)
HSVhsv(124, 70%, 55%)
CMYKcmyk(69.8%, 0%, 64.7%, 45.5%)
CIE-LABlab(50.89, -46.60, 39.06)
CIE-LCHlch(50.89, 60.81, 140.04°)
OKLaboklab(56.12% -0.1262 0.0911)
OKLCHoklch(56.12% 0.156 144.2)
XYZxyz(10.7412, 19.1781, 6.0408)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B31 #8B2A84
analogous
#538B2A #2A8B31 #2A8B61
triadic
#2A8B31 #312A8B #8B312A
tetradic
#2A8B31 #2A538B #8B2A84 #8B612A
square
#2A8B31 #2A538B #8B2A84 #8B612A
split-complementary
#2A8B31 #612A8B #8B2A53
monochromatic
#0E2D10 #1C5C20 #2A8B31 #38BA42 #60CF68

Accessibility & contrast

On white

4.34
#2A8B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2A8B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8B31
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8B31#FFFFFF#000000##000000
##2A8B311.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E26
Deuteranopia (green-blind)
#827639
Tritanopia (blue-blind)
#0C8778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8b31;
/* rgb */ color: rgb(42, 139, 49);
/* oklch */ color: oklch(56.1% 0.156 144.2);
Tailwind
colors: {
  custom: {
    50: '#72ae6d',
    500: '#2a8b31',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b31;
$custom-light: #72ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b31",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 124.33,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56122,
    "c": 0.15563,
    "h": 144.2
  },
  "luminance": 0.19179
}

Semantic roles & 50–950 ramp

primary
#2A8B31
secondary
#B55CAE
accent
#4BD2DD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8B31

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

Preview Lab → · Contrast checker → · Palette generator →

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