#2A8E2A#2A8E2A

#2A8E2A is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.165 H 143.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2A8E2A
RGBrgb(42, 142, 42)
HSLhsl(120, 54%, 36%)
HSVhsv(120, 70%, 56%)
CMYKcmyk(70.4%, 0%, 70.4%, 44.3%)
CIE-LABlab(51.84, -48.43, 43.18)
CIE-LCHlch(51.84, 64.88, 138.28°)
OKLaboklab(56.89% -0.1315 0.099)
OKLCHoklch(56.89% 0.165 143)
XYZxyz(11.0451, 20.0042, 5.4692)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E2A #8E2A8E
analogous
#5C8E2A #2A8E2A #2A8E5C
triadic
#2A8E2A #2A2A8E #8E2A2A
tetradic
#2A8E2A #2A5C8E #8E2A8E #8E5C2A
square
#2A8E2A #2A5C8E #8E2A8E #8E5C2A
split-complementary
#2A8E2A #5C2A8E #8E2A5C
monochromatic
#0E300E #1C5F1C #2A8E2A #38BD38 #62D162

Accessibility & contrast

On white

4.20
#2A8E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2A8E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E2A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E2A#FFFFFF#000000##000000
##2A8E2A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801B
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#0D8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8e2a;
/* rgb */ color: rgb(42, 142, 42);
/* oklch */ color: oklch(56.9% 0.165 143.0);
Tailwind
colors: {
  custom: {
    50: '#73b069',
    500: '#2a8e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e2a;
$custom-light: #73b069;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e2a",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56886,
    "c": 0.16458,
    "h": 143
  },
  "luminance": 0.20005
}

Semantic roles & 50–950 ramp

primary
#2A8E2A
secondary
#B65DB6
accent
#4ADEDE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A8E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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