#2A8D2E#2A8D2E

#2A8D2E is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.160 H 143.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2A8D2E
RGBrgb(42, 141, 46)
HSLhsl(122, 54%, 36%)
HSVhsv(122, 70%, 55%)
CMYKcmyk(70.2%, 0%, 67.4%, 44.7%)
CIE-LABlab(51.54, -47.66, 41.13)
CIE-LCHlch(51.54, 62.95, 139.21°)
OKLaboklab(56.65% -0.1292 0.0951)
OKLCHoklch(56.65% 0.16 143.6)
XYZxyz(10.9722, 19.7381, 5.8158)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D2E #8D2A89
analogous
#578D2A #2A8D2E #2A8D5F
triadic
#2A8D2E #2E2A8D #8D2E2A
tetradic
#2A8D2E #2A578D #8D2A89 #8D5F2A
square
#2A8D2E #2A578D #8D2A89 #8D5F2A
split-complementary
#2A8D2E #5F2A8D #8D2A57
monochromatic
#0E2F0F #1C5E1F #2A8D2E #38BC3D #61D066

Accessibility & contrast

On white

4.24
#2A8D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2A8D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D2E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D2E#FFFFFF#000000##000000
##2A8D2E1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#847837
Tritanopia (blue-blind)
#0C8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8d2e;
/* rgb */ color: rgb(42, 141, 46);
/* oklch */ color: oklch(56.6% 0.160 143.6);
Tailwind
colors: {
  custom: {
    50: '#72af6b',
    500: '#2a8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d2e;
$custom-light: #72af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d2e",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 122.424,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56646,
    "c": 0.16046,
    "h": 143.6
  },
  "luminance": 0.19739
}

Semantic roles & 50–950 ramp

primary
#2A8D2E
secondary
#B65DB2
accent
#4AD8DD
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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