#2A8B47#2A8B47

#2A8B47 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.136 H 149.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2A8B47
RGBrgb(42, 139, 71)
HSLhsl(138, 54%, 35%)
HSVhsv(138, 70%, 55%)
CMYKcmyk(69.8%, 0%, 48.9%, 45.5%)
CIE-LABlab(51.16, -43.47, 28.33)
CIE-LCHlch(51.16, 51.89, 146.91°)
OKLaboklab(56.43% -0.1171 0.0691)
OKLCHoklch(56.43% 0.136 149.5)
XYZxyz(11.3239, 19.4112, 9.1100)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B47 #8B2A6E
analogous
#3D8B2A #2A8B47 #2A8B77
triadic
#2A8B47 #472A8B #8B472A
tetradic
#2A8B47 #2A3D8B #8B2A6E #8B772A
square
#2A8B47 #2A3D8B #8B2A6E #8B772A
split-complementary
#2A8B47 #772A8B #8B2A3D
monochromatic
#0E2D17 #1C5C2F #2A8B47 #38BA5F #60CF81

Accessibility & contrast

On white

4.30
#2A8B47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2A8B47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8B47
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8B47#FFFFFF#000000##000000
##2A8B471.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F42
Deuteranopia (green-blind)
#80774C
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8b47;
/* rgb */ color: rgb(42, 139, 71);
/* oklch */ color: oklch(56.4% 0.136 149.5);
Tailwind
colors: {
  custom: {
    50: '#71ae7b',
    500: '#2a8b47',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b47;
$custom-light: #71ae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b47",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 71
  },
  "hsl": {
    "h": 137.938,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56432,
    "c": 0.13601,
    "h": 149.5
  },
  "luminance": 0.19412
}

Semantic roles & 50–950 ramp

primary
#2A8B47
secondary
#B55C9A
accent
#4BB1DD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8B47

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

Preview Lab → · Contrast checker → · Palette generator →

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