#2A8E2C#2A8E2C

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

Color values

HEX#2A8E2C
RGBrgb(42, 142, 44)
HSLhsl(121, 54%, 36%)
HSVhsv(121, 70%, 56%)
CMYKcmyk(70.4%, 0%, 69%, 44.3%)
CIE-LABlab(51.86, -48.23, 42.35)
CIE-LCHlch(51.86, 64.18, 138.72°)
OKLaboklab(56.9% -0.1308 0.0975)
OKLCHoklch(56.9% 0.163 143.3)
XYZxyz(11.0818, 20.0189, 5.6624)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E2C #8E2A8C
analogous
#5A8E2A #2A8E2C #2A8E5E
triadic
#2A8E2C #2C2A8E #8E2C2A
tetradic
#2A8E2C #2A5A8E #8E2A8C #8E5E2A
square
#2A8E2C #2A5A8E #8E2A8C #8E5E2A
split-complementary
#2A8E2C #5E2A8E #8E2A5A
monochromatic
#0E300F #1C5F1D #2A8E2C #38BD3B #62D164

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8E2C#FFFFFF#000000##000000
##2A8E2C1.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)
#91811F
Deuteranopia (green-blind)
#857935
Tritanopia (blue-blind)
#0C8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8e2c;
/* rgb */ color: rgb(42, 142, 44);
/* oklch */ color: oklch(56.9% 0.163 143.3);
Tailwind
colors: {
  custom: {
    50: '#73b06a',
    500: '#2a8e2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e2c;
$custom-light: #73b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e2c",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 121.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56905,
    "c": 0.16317,
    "h": 143.3
  },
  "luminance": 0.2002
}

Semantic roles & 50–950 ramp

primary
#2A8E2C
secondary
#B65DB5
accent
#4ADBDE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A8E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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