#2A8E1F#2A8E1F

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

Color values

HEX#2A8E1F
RGBrgb(42, 142, 31)
HSLhsl(114, 64%, 34%)
HSVhsv(114, 78%, 56%)
CMYKcmyk(70.4%, 0%, 78.2%, 44.3%)
CIE-LABlab(51.76, -49.36, 47.33)
CIE-LCHlch(51.76, 68.38, 136.20°)
OKLaboklab(56.8% -0.1346 0.1062)
OKLCHoklch(56.8% 0.171 141.7)
XYZxyz(10.8746, 19.9360, 4.5710)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E1F #831F8E
analogous
#628E1F #2A8E1F #1F8E4C
triadic
#2A8E1F #1F2A8E #8E1F2A
tetradic
#2A8E1F #1F628E #831F8E #8E4C1F
square
#2A8E1F #1F628E #831F8E #8E4C1F
split-complementary
#2A8E1F #4C1F8E #8E1F62
monochromatic
#0C2A09 #1B5C14 #2A8E1F #39C02A #5DD94F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8E1F#FFFFFF#000000##000000
##2A8E1F1.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)
#928004
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#128979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8e1f;
/* rgb */ color: rgb(42, 142, 31);
/* oklch */ color: oklch(56.8% 0.171 141.7);
Tailwind
colors: {
  custom: {
    50: '#73b063',
    500: '#2a8e1f',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e1f;
$custom-light: #73b063;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e1f",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 114.054,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56797,
    "c": 0.17142,
    "h": 141.7
  },
  "luminance": 0.19937
}

Semantic roles & 50–950 ramp

primary
#2A8E1F
secondary
#B14DBB
accent
#41E7D7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A8E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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