#2A801A#2A801A

#2A801A is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.158 H 140.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2A801A
RGBrgb(42, 128, 26)
HSLhsl(111, 66%, 30%)
HSVhsv(111, 80%, 50%)
CMYKcmyk(67.2%, 0%, 79.7%, 49.8%)
CIE-LABlab(46.98, -44.76, 44.40)
CIE-LCHlch(46.98, 63.04, 135.23°)
OKLaboklab(52.82% -0.1224 0.0993)
OKLCHoklch(52.82% 0.158 140.9)
XYZxyz(8.8600, 16.0043, 3.5993)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A801A #701A80
analogous
#5D801A #2A801A #1A803D
triadic
#2A801A #1A2A80 #801A2A
tetradic
#2A801A #1A5D80 #701A80 #803D1A
square
#2A801A #1A5D80 #701A80 #803D1A
split-complementary
#2A801A #3D1A80 #801A5D
monochromatic
#091A05 #194D10 #2A801A #3BB324 #55D83D

Accessibility & contrast

On white

5.00
#2A801A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2A801A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A801A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A801A#FFFFFF#000000##FFFFFF
##2A801A1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837401
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#1B7C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a801a;
/* rgb */ color: rgb(42, 128, 26);
/* oklch */ color: oklch(52.8% 0.158 140.9);
Tailwind
colors: {
  custom: {
    50: '#70a65f',
    500: '#2a801a',
    950: '#000000',
  },
}
SCSS
$custom: #2a801a;
$custom-light: #70a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a801a",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 110.588,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52821,
    "c": 0.15765,
    "h": 140.9
  },
  "luminance": 0.16005
}

Semantic roles & 50–950 ramp

primary
#2A801A
secondary
#A242B4
accent
#3FE9CE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2A801A

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

Preview Lab → · Contrast checker → · Palette generator →

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