#2A8719#2A8719

#2A8719 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.166 H 141.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2A8719
RGBrgb(42, 135, 25)
HSLhsl(111, 69%, 31%)
HSVhsv(111, 81%, 53%)
CMYKcmyk(68.9%, 0%, 81.5%, 47.1%)
CIE-LABlab(49.36, -47.32, 47.01)
CIE-LCHlch(49.36, 66.70, 135.19°)
OKLaboklab(54.79% -0.1294 0.1046)
OKLCHoklch(54.79% 0.166 141)
XYZxyz(9.7938, 17.8894, 3.8564)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8719 #761987
analogous
#618719 #2A8719 #19873F
triadic
#2A8719 #192A87 #87192A
tetradic
#2A8719 #196187 #761987 #873F19
square
#2A8719 #196187 #761987 #873F19
split-complementary
#2A8719 #3F1987 #871961
monochromatic
#0A2006 #1A530F #2A8719 #3ABB23 #57DB3F

Accessibility & contrast

On white

4.59
#2A8719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2A8719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8719
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8719#FFFFFF#000000##FFFFFF
##2A87191.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#178373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a8719;
/* rgb */ color: rgb(42, 135, 25);
/* oklch */ color: oklch(54.8% 0.166 141.0);
Tailwind
colors: {
  custom: {
    50: '#72ab60',
    500: '#2a8719',
    950: '#000000',
  },
}
SCSS
$custom: #2a8719;
$custom-light: #72ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8719",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 110.727,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54793,
    "c": 0.16641,
    "h": 141
  },
  "luminance": 0.1789
}

Semantic roles & 50–950 ramp

primary
#2A8719
secondary
#A841BA
accent
#3CECD0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2A8719

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

Preview Lab → · Contrast checker → · Palette generator →

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