#2A8151#2A8151

#2A8151 is a mid, moderate green. Relative luminance 0.168; OKLCH L 53.9% C 0.112 H 155.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2A8151
RGBrgb(42, 129, 81)
HSLhsl(147, 51%, 34%)
HSVhsv(147, 67%, 51%)
CMYKcmyk(67.4%, 0%, 37.2%, 49.4%)
CIE-LABlab(47.99, -37.52, 18.67)
CIE-LCHlch(47.99, 41.90, 153.55°)
OKLaboklab(53.87% -0.1016 0.0468)
OKLCHoklch(53.87% 0.112 155.3)
XYZxyz(10.2894, 16.7857, 10.4807)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8151 #812A5A
analogous
#2E812A #2A8151 #2A817C
triadic
#2A8151 #512A81 #81512A
tetradic
#2A8151 #2A2E81 #812A5A #817C2A
square
#2A8151 #2A2E81 #812A5A #817C2A
split-complementary
#2A8151 #7C2A81 #812A2E
monochromatic
#0C2517 #1B5334 #2A8151 #39AF6E #5CCA8D

Accessibility & contrast

On white

4.82
#2A8151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2A8151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8151
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8151#FFFFFF#000000##FFFFFF
##2A81511.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774E
Deuteranopia (green-blind)
#756F54
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a8151;
/* rgb */ color: rgb(42, 129, 81);
/* oklch */ color: oklch(53.9% 0.112 155.3);
Tailwind
colors: {
  custom: {
    50: '#6ea682',
    500: '#2a8151',
    950: '#000000',
  },
}
SCSS
$custom: #2a8151;
$custom-light: #6ea682;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8151",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 146.897,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53871,
    "c": 0.1119,
    "h": 155.3
  },
  "luminance": 0.16787
}

Semantic roles & 50–950 ramp

primary
#2A8151
secondary
#AF5788
accent
#4D9BDA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2A8151

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

Preview Lab → · Contrast checker → · Palette generator →

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