#2A8B2A#2A8B2A

#2A8B2A is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.161 H 143.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2A8B2A
RGBrgb(42, 139, 42)
HSLhsl(120, 54%, 35%)
HSVhsv(120, 70%, 55%)
CMYKcmyk(69.8%, 0%, 69.8%, 45.5%)
CIE-LABlab(50.83, -47.36, 42.10)
CIE-LCHlch(50.83, 63.36, 138.36°)
OKLaboklab(56.05% -0.1286 0.0967)
OKLCHoklch(56.05% 0.161 143.1)
XYZxyz(10.6048, 19.1235, 5.3224)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B2A #8B2A8B
analogous
#5A8B2A #2A8B2A #2A8B5A
triadic
#2A8B2A #2A2A8B #8B2A2A
tetradic
#2A8B2A #2A5A8B #8B2A8B #8B5A2A
square
#2A8B2A #2A5A8B #8B2A8B #8B5A2A
split-complementary
#2A8B2A #5A2A8B #8B2A5A
monochromatic
#0E2D0E #1C5C1C #2A8B2A #38BA38 #60CF60

Accessibility & contrast

On white

4.35
#2A8B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8B2A#FFFFFF#000000##000000
##2A8B2A1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#837633
Tritanopia (blue-blind)
#108777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8b2a;
/* rgb */ color: rgb(42, 139, 42);
/* oklch */ color: oklch(56.0% 0.161 143.1);
Tailwind
colors: {
  custom: {
    50: '#72ae69',
    500: '#2a8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b2a;
$custom-light: #72ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b2a",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56049,
    "c": 0.1609,
    "h": 143.1
  },
  "luminance": 0.19125
}

Semantic roles & 50–950 ramp

primary
#2A8B2A
secondary
#B55CB5
accent
#4BDDDD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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