#2A8B30#2A8B30

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

Color values

HEX#2A8B30
RGBrgb(42, 139, 48)
HSLhsl(124, 54%, 35%)
HSVhsv(124, 70%, 55%)
CMYKcmyk(69.8%, 0%, 65.5%, 45.5%)
CIE-LABlab(50.89, -46.72, 39.51)
CIE-LCHlch(50.89, 61.18, 139.78°)
OKLaboklab(56.11% -0.1266 0.0919)
OKLCHoklch(56.11% 0.156 144)
XYZxyz(10.7203, 19.1697, 5.9309)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B30 #8B2A85
analogous
#558B2A #2A8B30 #2A8B60
triadic
#2A8B30 #302A8B #8B302A
tetradic
#2A8B30 #2A558B #8B2A85 #8B602A
square
#2A8B30 #2A558B #8B2A85 #8B602A
split-complementary
#2A8B30 #602A8B #8B2A55
monochromatic
#0E2D10 #1C5C20 #2A8B30 #38BA40 #60CF67

Accessibility & contrast

On white

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

On black

4.83
#2A8B30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8B30
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8B30#FFFFFF#000000##000000
##2A8B301.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E25
Deuteranopia (green-blind)
#827638
Tritanopia (blue-blind)
#0D8778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8b30;
/* rgb */ color: rgb(42, 139, 48);
/* oklch */ color: oklch(56.1% 0.156 144.0);
Tailwind
colors: {
  custom: {
    50: '#72ae6c',
    500: '#2a8b30',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b30;
$custom-light: #72ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b30",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 48
  },
  "hsl": {
    "h": 123.711,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5611,
    "c": 0.15642,
    "h": 144
  },
  "luminance": 0.19171
}

Semantic roles & 50–950 ramp

primary
#2A8B30
secondary
#B55CAF
accent
#4BD4DD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8B30

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

Preview Lab → · Contrast checker → · Palette generator →

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