#2A8E2B#2A8E2B

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

Color values

HEX#2A8E2B
RGBrgb(42, 142, 43)
HSLhsl(121, 54%, 36%)
HSVhsv(121, 70%, 56%)
CMYKcmyk(70.4%, 0%, 69.7%, 44.3%)
CIE-LABlab(51.85, -48.33, 42.76)
CIE-LCHlch(51.85, 64.53, 138.50°)
OKLaboklab(56.9% -0.1312 0.0982)
OKLCHoklch(56.9% 0.164 143.2)
XYZxyz(11.0632, 20.0115, 5.5646)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E2B #8E2A8D
analogous
#5B8E2A #2A8E2B #2A8E5D
triadic
#2A8E2B #2B2A8E #8E2B2A
tetradic
#2A8E2B #2A5B8E #8E2A8D #8E5D2A
square
#2A8E2B #2A5B8E #8E2A8D #8E5D2A
split-complementary
#2A8E2B #5D2A8E #8E2A5B
monochromatic
#0E300E #1C5F1D #2A8E2B #38BD39 #62D163

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8E2B#FFFFFF#000000##000000
##2A8E2B1.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)
#91811D
Deuteranopia (green-blind)
#857934
Tritanopia (blue-blind)
#0D8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8e2b;
/* rgb */ color: rgb(42, 142, 43);
/* oklch */ color: oklch(56.9% 0.164 143.2);
Tailwind
colors: {
  custom: {
    50: '#73b06a',
    500: '#2a8e2b',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e2b;
$custom-light: #73b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e2b",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 120.6,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56895,
    "c": 0.16387,
    "h": 143.2
  },
  "luminance": 0.20013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A8E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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