#2A8A2C#2A8A2C

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

Color values

HEX#2A8A2C
RGBrgb(42, 138, 44)
HSLhsl(121, 53%, 35%)
HSVhsv(121, 70%, 54%)
CMYKcmyk(69.6%, 0%, 68.1%, 45.9%)
CIE-LABlab(50.51, -46.79, 40.89)
CIE-LCHlch(50.51, 62.14, 138.85°)
OKLaboklab(55.79% -0.127 0.0944)
OKLCHoklch(55.79% 0.158 143.4)
XYZxyz(10.4973, 18.8499, 5.4676)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A2C #8A2A88
analogous
#588A2A #2A8A2C #2A8A5C
triadic
#2A8A2C #2C2A8A #8A2C2A
tetradic
#2A8A2C #2A588A #8A2A88 #8A5C2A
square
#2A8A2C #2A588A #8A2A88 #8A5C2A
split-complementary
#2A8A2C #5C2A8A #8A2A58
monochromatic
#0D2C0E #1C5B1D #2A8A2C #38B93B #60CF62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8A2C#FFFFFF#000000##000000
##2A8A2C1.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)
#8D7D20
Deuteranopia (green-blind)
#827535
Tritanopia (blue-blind)
#108677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8a2c;
/* rgb */ color: rgb(42, 138, 44);
/* oklch */ color: oklch(55.8% 0.158 143.4);
Tailwind
colors: {
  custom: {
    50: '#72ad6a',
    500: '#2a8a2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a2c;
$custom-light: #72ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a2c",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 121.25,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55789,
    "c": 0.15821,
    "h": 143.4
  },
  "luminance": 0.18851
}

Semantic roles & 50–950 ramp

primary
#2A8A2C
secondary
#B45BB3
accent
#4BDADD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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