#2A8B2C#2A8B2C

#2A8B2C is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.159 H 143.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2A8B2C
RGBrgb(42, 139, 44)
HSLhsl(121, 54%, 35%)
HSVhsv(121, 70%, 55%)
CMYKcmyk(69.8%, 0%, 68.3%, 45.5%)
CIE-LABlab(50.85, -47.16, 41.25)
CIE-LCHlch(50.85, 62.65, 138.82°)
OKLaboklab(56.07% -0.1279 0.0952)
OKLCHoklch(56.07% 0.159 143.4)
XYZxyz(10.6414, 19.1382, 5.5156)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B2C #8B2A89
analogous
#588B2A #2A8B2C #2A8B5C
triadic
#2A8B2C #2C2A8B #8B2C2A
tetradic
#2A8B2C #2A588B #8B2A89 #8B5C2A
square
#2A8B2C #2A588B #8B2A89 #8B5C2A
split-complementary
#2A8B2C #5C2A8B #8B2A58
monochromatic
#0E2D0E #1C5C1D #2A8B2C #38BA3B #60CF63

Accessibility & contrast

On white

4.35
#2A8B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2A8B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8B2C
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8B2C#FFFFFF#000000##000000
##2A8B2C1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1F
Deuteranopia (green-blind)
#827635
Tritanopia (blue-blind)
#0F8778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8b2c;
/* rgb */ color: rgb(42, 139, 44);
/* oklch */ color: oklch(56.1% 0.159 143.4);
Tailwind
colors: {
  custom: {
    50: '#72ae6a',
    500: '#2a8b2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b2c;
$custom-light: #72ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b2c",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 121.237,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56068,
    "c": 0.15945,
    "h": 143.4
  },
  "luminance": 0.19139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A8B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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