#2A8D3E#2A8D3E

#2A8D3E is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.147 H 146.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2A8D3E
RGBrgb(42, 141, 62)
HSLhsl(132, 54%, 36%)
HSVhsv(132, 70%, 55%)
CMYKcmyk(70.2%, 0%, 56%, 44.7%)
CIE-LABlab(51.71, -45.65, 33.69)
CIE-LCHlch(51.71, 56.74, 143.57°)
OKLaboklab(56.84% -0.1231 0.0806)
OKLCHoklch(56.84% 0.147 146.8)
XYZxyz(11.3484, 19.8886, 7.7973)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D3E #8D2A79
analogous
#478D2A #2A8D3E #2A8D6F
triadic
#2A8D3E #3E2A8D #8D3E2A
tetradic
#2A8D3E #2A478D #8D2A79 #8D6F2A
square
#2A8D3E #2A478D #8D2A79 #8D6F2A
split-complementary
#2A8D3E #6F2A8D #8D2A47
monochromatic
#0E2F15 #1C5E29 #2A8D3E #38BC53 #61D078

Accessibility & contrast

On white

4.22
#2A8D3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#2A8D3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D3E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D3E#FFFFFF#000000##000000
##2A8D3E1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8037
Deuteranopia (green-blind)
#837844
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8d3e;
/* rgb */ color: rgb(42, 141, 62);
/* oklch */ color: oklch(56.8% 0.147 146.8);
Tailwind
colors: {
  custom: {
    50: '#71af75',
    500: '#2a8d3e',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d3e;
$custom-light: #71af75;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d3e",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 132.121,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56843,
    "c": 0.14715,
    "h": 146.8
  },
  "luminance": 0.1989
}

Semantic roles & 50–950 ramp

primary
#2A8D3E
secondary
#B65DA4
accent
#4AC0DD
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2A8D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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