#2A8E1E#2A8E1E

#2A8E1E is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.172 H 141.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2A8E1E
RGBrgb(42, 142, 30)
HSLhsl(114, 65%, 34%)
HSVhsv(114, 79%, 56%)
CMYKcmyk(70.4%, 0%, 78.9%, 44.3%)
CIE-LABlab(51.76, -49.43, 47.66)
CIE-LCHlch(51.76, 68.67, 136.04°)
OKLaboklab(56.79% -0.1348 0.1067)
OKLCHoklch(56.79% 0.172 141.6)
XYZxyz(10.8616, 19.9308, 4.5027)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E1E #821E8E
analogous
#628E1E #2A8E1E #1E8E4A
triadic
#2A8E1E #1E2A8E #8E1E2A
tetradic
#2A8E1E #1E628E #821E8E #8E4A1E
square
#2A8E1E #1E628E #821E8E #8E4A1E
split-complementary
#2A8E1E #4A1E8E #8E1E62
monochromatic
#0C2909 #1B5B13 #2A8E1E #39C129 #5CD94D

Accessibility & contrast

On white

4.21
#2A8E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2A8E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E1E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E1E#FFFFFF#000000##000000
##2A8E1E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928002
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#128979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8e1e;
/* rgb */ color: rgb(42, 142, 30);
/* oklch */ color: oklch(56.8% 0.172 141.6);
Tailwind
colors: {
  custom: {
    50: '#73b063',
    500: '#2a8e1e',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e1e;
$custom-light: #73b063;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e1e",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 113.571,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5679,
    "c": 0.17195,
    "h": 141.6
  },
  "luminance": 0.19932
}

Semantic roles & 50–950 ramp

primary
#2A8E1E
secondary
#B04CBC
accent
#40E8D6
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A8E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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