#2A8A2E#2A8A2E

#2A8A2E is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.157 H 143.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2A8A2E
RGBrgb(42, 138, 46)
HSLhsl(123, 53%, 35%)
HSVhsv(123, 70%, 54%)
CMYKcmyk(69.6%, 0%, 66.7%, 45.9%)
CIE-LABlab(50.53, -46.58, 40.02)
CIE-LCHlch(50.53, 61.41, 139.33°)
OKLaboklab(55.81% -0.1263 0.0928)
OKLCHoklch(55.81% 0.157 143.7)
XYZxyz(10.5358, 18.8653, 5.6704)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A2E #8A2A86
analogous
#568A2A #2A8A2E #2A8A5E
triadic
#2A8A2E #2E2A8A #8A2E2A
tetradic
#2A8A2E #2A568A #8A2A86 #8A5E2A
square
#2A8A2E #2A568A #8A2A86 #8A5E2A
split-complementary
#2A8A2E #5E2A8A #8A2A56
monochromatic
#0D2C0F #1C5B1E #2A8A2E #38B93E #60CF64

Accessibility & contrast

On white

4.40
#2A8A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2A8A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A2E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A2E#FFFFFF#000000##000000
##2A8A2E1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D23
Deuteranopia (green-blind)
#817536
Tritanopia (blue-blind)
#0F8677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8a2e;
/* rgb */ color: rgb(42, 138, 46);
/* oklch */ color: oklch(55.8% 0.157 143.7);
Tailwind
colors: {
  custom: {
    50: '#72ad6b',
    500: '#2a8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a2e;
$custom-light: #72ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a2e",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 122.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5581,
    "c": 0.1567,
    "h": 143.7
  },
  "luminance": 0.18866
}

Semantic roles & 50–950 ramp

primary
#2A8A2E
secondary
#B45BB1
accent
#4BD7DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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