#2A8A2B#2A8A2B

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

Color values

HEX#2A8A2B
RGBrgb(42, 138, 43)
HSLhsl(121, 53%, 35%)
HSVhsv(121, 70%, 54%)
CMYKcmyk(69.6%, 0%, 68.8%, 45.9%)
CIE-LABlab(50.50, -46.90, 41.32)
CIE-LCHlch(50.50, 62.50, 138.62°)
OKLaboklab(55.78% -0.1273 0.0952)
OKLCHoklch(55.78% 0.159 143.2)
XYZxyz(10.4787, 18.8425, 5.3698)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A2B #8A2A89
analogous
#598A2A #2A8A2B #2A8A5B
triadic
#2A8A2B #2B2A8A #8A2B2A
tetradic
#2A8A2B #2A598A #8A2A89 #8A5B2A
square
#2A8A2B #2A598A #8A2A89 #8A5B2A
split-complementary
#2A8A2B #5B2A8A #8A2A59
monochromatic
#0D2C0E #1C5B1C #2A8A2B #38B93A #60CF61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8A2B#FFFFFF#000000##000000
##2A8A2B1.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)
#8D7D1E
Deuteranopia (green-blind)
#827534
Tritanopia (blue-blind)
#108677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8a2b;
/* rgb */ color: rgb(42, 138, 43);
/* oklch */ color: oklch(55.8% 0.159 143.2);
Tailwind
colors: {
  custom: {
    50: '#72ad69',
    500: '#2a8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a2b;
$custom-light: #72ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a2b",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 120.625,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55779,
    "c": 0.15895,
    "h": 143.2
  },
  "luminance": 0.18844
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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