#2A8F1A#2A8F1A

#2A8F1A is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.175 H 141.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2A8F1A
RGBrgb(42, 143, 26)
HSLhsl(112, 69%, 33%)
HSVhsv(112, 82%, 56%)
CMYKcmyk(70.6%, 0%, 81.8%, 43.9%)
CIE-LABlab(52.07, -50.03, 49.26)
CIE-LCHlch(52.07, 70.21, 135.45°)
OKLaboklab(57.05% -0.1366 0.1095)
OKLCHoklch(57.05% 0.175 141.3)
XYZxyz(10.9632, 20.2106, 4.3003)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8F1A #7F1A8F
analogous
#648F1A #2A8F1A #1A8F44
triadic
#2A8F1A #1A2A8F #8F1A2A
tetradic
#2A8F1A #1A648F #7F1A8F #8F441A
square
#2A8F1A #1A648F #7F1A8F #8F441A
split-complementary
#2A8F1A #441A8F #8F1A64
monochromatic
#0C2707 #1B5B11 #2A8F1A #39C323 #5BDD46

Accessibility & contrast

On white

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

On black

5.04
#2A8F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8F1A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8F1A#FFFFFF#000000##000000
##2A8F1A1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#128A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8f1a;
/* rgb */ color: rgb(42, 143, 26);
/* oklch */ color: oklch(57.0% 0.175 141.3);
Tailwind
colors: {
  custom: {
    50: '#74b161',
    500: '#2a8f1a',
    950: '#000000',
  },
}
SCSS
$custom: #2a8f1a;
$custom-light: #74b161;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8f1a",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 111.795,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57045,
    "c": 0.1751,
    "h": 141.3
  },
  "luminance": 0.20212
}

Semantic roles & 50–950 ramp

primary
#2A8F1A
secondary
#AE46BF
accent
#3CECD4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2A8F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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