#2A8C1E#2A8C1E

#2A8C1E is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.170 H 141.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2A8C1E
RGBrgb(42, 140, 30)
HSLhsl(113, 65%, 33%)
HSVhsv(113, 79%, 55%)
CMYKcmyk(70%, 0%, 78.6%, 45.1%)
CIE-LABlab(51.08, -48.73, 47.01)
CIE-LCHlch(51.08, 67.71, 136.03°)
OKLaboklab(56.23% -0.133 0.1054)
OKLCHoklch(56.23% 0.17 141.6)
XYZxyz(10.5667, 19.3410, 4.4044)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8C1E #801E8C
analogous
#618C1E #2A8C1E #1E8C49
triadic
#2A8C1E #1E2A8C #8C1E2A
tetradic
#2A8C1E #1E618C #801E8C #8C491E
square
#2A8C1E #1E618C #801E8C #8C491E
split-complementary
#2A8C1E #491E8C #8C1E61
monochromatic
#0C2708 #1B5A13 #2A8C1E #39BE29 #5BD94C

Accessibility & contrast

On white

4.31
#2A8C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2A8C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8C1E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8C1E#FFFFFF#000000##000000
##2A8C1E1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E03
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#138777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8c1e;
/* rgb */ color: rgb(42, 140, 30);
/* oklch */ color: oklch(56.2% 0.170 141.6);
Tailwind
colors: {
  custom: {
    50: '#73af63',
    500: '#2a8c1e',
    950: '#000000',
  },
}
SCSS
$custom: #2a8c1e;
$custom-light: #73af63;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8c1e",
  "rgb": {
    "r": 42,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 113.455,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5623,
    "c": 0.16964,
    "h": 141.6
  },
  "luminance": 0.19342
}

Semantic roles & 50–950 ramp

primary
#2A8C1E
secondary
#AF4BBB
accent
#40E8D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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