#2A8A51#2A8A51

#2A8A51 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.125 H 153.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2A8A51
RGBrgb(42, 138, 81)
HSLhsl(144, 53%, 35%)
HSVhsv(144, 70%, 54%)
CMYKcmyk(69.6%, 0%, 41.3%, 45.9%)
CIE-LABlab(50.99, -41.26, 22.66)
CIE-LCHlch(50.99, 47.08, 151.23°)
OKLaboklab(56.34% -0.1114 0.0563)
OKLCHoklch(56.34% 0.125 153.2)
XYZxyz(11.5275, 19.2620, 10.8934)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A51 #8A2A63
analogous
#338A2A #2A8A51 #2A8A81
triadic
#2A8A51 #512A8A #8A512A
tetradic
#2A8A51 #2A338A #8A2A63 #8A812A
square
#2A8A51 #2A338A #8A2A63 #8A812A
split-complementary
#2A8A51 #812A8A #8A2A33
monochromatic
#0D2C1A #1C5B35 #2A8A51 #38B96D #60CF8D

Accessibility & contrast

On white

4.33
#2A8A51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2A8A51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A51
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A51#FFFFFF#000000##000000
##2A8A511.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F4D
Deuteranopia (green-blind)
#7E7655
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8a51;
/* rgb */ color: rgb(42, 138, 81);
/* oklch */ color: oklch(56.3% 0.125 153.2);
Tailwind
colors: {
  custom: {
    50: '#70ad82',
    500: '#2a8a51',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a51;
$custom-light: #70ad82;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a51",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 81
  },
  "hsl": {
    "h": 144.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56343,
    "c": 0.12482,
    "h": 153.2
  },
  "luminance": 0.19263
}

Semantic roles & 50–950 ramp

primary
#2A8A51
secondary
#B45B90
accent
#4BA2DD
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A8A51

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

Preview Lab → · Contrast checker → · Palette generator →

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