#2A8919#2A8919

#2A8919 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.169 H 141.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2A8919
RGBrgb(42, 137, 25)
HSLhsl(111, 69%, 32%)
HSVhsv(111, 82%, 54%)
CMYKcmyk(69.3%, 0%, 81.8%, 46.3%)
CIE-LABlab(50.04, -48.02, 47.65)
CIE-LCHlch(50.04, 67.65, 135.22°)
OKLaboklab(55.36% -0.1313 0.106)
OKLCHoklch(55.36% 0.169 141.1)
XYZxyz(10.0754, 18.4527, 3.9503)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8919 #781989
analogous
#628919 #2A8919 #198940
triadic
#2A8919 #192A89 #89192A
tetradic
#2A8919 #196289 #781989 #894019
square
#2A8919 #196289 #781989 #894019
split-complementary
#2A8919 #401989 #891962
monochromatic
#0A2106 #1A5510 #2A8919 #3ABD22 #58DC40

Accessibility & contrast

On white

4.48
#2A8919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2A8919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8919
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8919#FFFFFF#000000##000000
##2A89191.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#827427
Tritanopia (blue-blind)
#168474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8919;
/* rgb */ color: rgb(42, 137, 25);
/* oklch */ color: oklch(55.4% 0.169 141.1);
Tailwind
colors: {
  custom: {
    50: '#72ac60',
    500: '#2a8919',
    950: '#000000',
  },
}
SCSS
$custom: #2a8919;
$custom-light: #72ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8919",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 110.893,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55356,
    "c": 0.16872,
    "h": 141.1
  },
  "luminance": 0.18454
}

Semantic roles & 50–950 ramp

primary
#2A8919
secondary
#AA41BC
accent
#3CECD1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2A8919

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

Preview Lab → · Contrast checker → · Palette generator →

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