#2A8D19#2A8D19

#2A8D19 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.173 H 141.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2A8D19
RGBrgb(42, 141, 25)
HSLhsl(111, 70%, 33%)
HSVhsv(111, 82%, 55%)
CMYKcmyk(70.2%, 0%, 82.3%, 44.7%)
CIE-LABlab(51.39, -49.41, 48.93)
CIE-LCHlch(51.39, 69.54, 135.28°)
OKLaboklab(56.48% -0.135 0.1086)
OKLCHoklch(56.48% 0.173 141.2)
XYZxyz(10.6546, 19.6111, 4.1433)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D19 #7C198D
analogous
#648D19 #2A8D19 #198D42
triadic
#2A8D19 #192A8D #8D192A
tetradic
#2A8D19 #19648D #7C198D #8D4219
square
#2A8D19 #19648D #7C198D #8D4219
split-complementary
#2A8D19 #42198D #8D1964
monochromatic
#0B2507 #1B5910 #2A8D19 #39C122 #59DE43

Accessibility & contrast

On white

4.27
#2A8D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#2A8D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D19
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D19#FFFFFF#000000##000000
##2A8D191.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#148878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8d19;
/* rgb */ color: rgb(42, 141, 25);
/* oklch */ color: oklch(56.5% 0.173 141.2);
Tailwind
colors: {
  custom: {
    50: '#73af61',
    500: '#2a8d19',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d19;
$custom-light: #73af61;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d19",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 111.207,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5648,
    "c": 0.17329,
    "h": 141.2
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#2A8D19
secondary
#AD43BF
accent
#3BEDD3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2A8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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