#2A8019#2A8019

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

Color values

HEX#2A8019
RGBrgb(42, 128, 25)
HSLhsl(110, 67%, 30%)
HSVhsv(110, 80%, 50%)
CMYKcmyk(67.2%, 0%, 80.5%, 49.8%)
CIE-LABlab(46.97, -44.83, 44.73)
CIE-LCHlch(46.97, 63.33, 135.06°)
OKLaboklab(52.82% -0.1227 0.0999)
OKLCHoklch(52.82% 0.158 140.8)
XYZxyz(8.8490, 15.9999, 3.5415)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8019 #6F1980
analogous
#5E8019 #2A8019 #19803B
triadic
#2A8019 #192A80 #80192A
tetradic
#2A8019 #195E80 #6F1980 #803B19
square
#2A8019 #195E80 #6F1980 #803B19
split-complementary
#2A8019 #3B1980 #80195E
monochromatic
#081A05 #194D0F #2A8019 #3BB323 #55D93B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8019#FFFFFF#000000##FFFFFF
##2A80191.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)
#837400
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#1B7C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a8019;
/* rgb */ color: rgb(42, 128, 25);
/* oklch */ color: oklch(52.8% 0.158 140.8);
Tailwind
colors: {
  custom: {
    50: '#70a65f',
    500: '#2a8019',
    950: '#000000',
  },
}
SCSS
$custom: #2a8019;
$custom-light: #70a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8019",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 110.097,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.15819,
    "h": 140.8
  },
  "luminance": 0.16001
}

Semantic roles & 50–950 ramp

primary
#2A8019
secondary
#A141B4
accent
#3EEACE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2A8019

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

Preview Lab → · Contrast checker → · Palette generator →

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