#2A8F1E#2A8F1E

#2A8F1E is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.173 H 141.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2A8F1E
RGBrgb(42, 143, 30)
HSLhsl(114, 65%, 34%)
HSVhsv(114, 79%, 56%)
CMYKcmyk(70.6%, 0%, 79%, 43.9%)
CIE-LABlab(52.10, -49.77, 47.99)
CIE-LCHlch(52.10, 69.14, 136.04°)
OKLaboklab(57.07% -0.1357 0.1074)
OKLCHoklch(57.07% 0.173 141.6)
XYZxyz(11.0110, 20.2297, 4.5525)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8F1E #831E8F
analogous
#638F1E #2A8F1E #1E8F4B
triadic
#2A8F1E #1E2A8F #8F1E2A
tetradic
#2A8F1E #1E638F #831E8F #8F4B1E
square
#2A8F1E #1E638F #831E8F #8F4B1E
split-complementary
#2A8F1E #4B1E8F #8F1E63
monochromatic
#0C2A09 #1B5C13 #2A8F1E #39C229 #5DDA4E

Accessibility & contrast

On white

4.16
#2A8F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2A8F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8F1E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8F1E#FFFFFF#000000##000000
##2A8F1E1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938101
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#118A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8f1e;
/* rgb */ color: rgb(42, 143, 30);
/* oklch */ color: oklch(57.1% 0.173 141.6);
Tailwind
colors: {
  custom: {
    50: '#73b163',
    500: '#2a8f1e',
    950: '#000000',
  },
}
SCSS
$custom: #2a8f1e;
$custom-light: #73b163;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8f1e",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 113.628,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5707,
    "c": 0.1731,
    "h": 141.6
  },
  "luminance": 0.20231
}

Semantic roles & 50–950 ramp

primary
#2A8F1E
secondary
#B14CBC
accent
#40E8D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A8F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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