#2A8519#2A8519

#2A8519 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.164 H 141.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2A8519
RGBrgb(42, 133, 25)
HSLhsl(111, 68%, 31%)
HSVhsv(111, 81%, 52%)
CMYKcmyk(68.4%, 0%, 81.2%, 47.8%)
CIE-LABlab(48.68, -46.62, 46.37)
CIE-LCHlch(48.68, 65.75, 135.15°)
OKLaboklab(54.23% -0.1275 0.1033)
OKLCHoklch(54.23% 0.164 141)
XYZxyz(9.5174, 17.3365, 3.7642)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8519 #741985
analogous
#608519 #2A8519 #19853E
triadic
#2A8519 #192A85 #85192A
tetradic
#2A8519 #196085 #741985 #853E19
square
#2A8519 #196085 #741985 #853E19
split-complementary
#2A8519 #3E1985 #851960
monochromatic
#091E06 #1A510F #2A8519 #3AB923 #56DB3E

Accessibility & contrast

On white

4.70
#2A8519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2A8519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8519
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8519#FFFFFF#000000##FFFFFF
##2A85191.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#188171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a8519;
/* rgb */ color: rgb(42, 133, 25);
/* oklch */ color: oklch(54.2% 0.164 141.0);
Tailwind
colors: {
  custom: {
    50: '#71a95f',
    500: '#2a8519',
    950: '#000000',
  },
}
SCSS
$custom: #2a8519;
$custom-light: #71a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8519",
  "rgb": {
    "r": 42,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 110.556,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54229,
    "c": 0.16408,
    "h": 141
  },
  "luminance": 0.17337
}

Semantic roles & 50–950 ramp

primary
#2A8519
secondary
#A641B9
accent
#3DEBD0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2A8519

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

Preview Lab → · Contrast checker → · Palette generator →

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