#2A8619#2A8619

#2A8619 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.165 H 141.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2A8619
RGBrgb(42, 134, 25)
HSLhsl(111, 69%, 31%)
HSVhsv(111, 81%, 53%)
CMYKcmyk(68.7%, 0%, 81.3%, 47.5%)
CIE-LABlab(49.02, -46.97, 46.69)
CIE-LCHlch(49.02, 66.23, 135.17°)
OKLaboklab(54.51% -0.1284 0.104)
OKLCHoklch(54.51% 0.165 141)
XYZxyz(9.6549, 17.6116, 3.8101)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8619 #751986
analogous
#608619 #2A8619 #19863E
triadic
#2A8619 #192A86 #86192A
tetradic
#2A8619 #196086 #751986 #863E19
square
#2A8619 #196086 #751986 #863E19
split-complementary
#2A8619 #3E1986 #861960
monochromatic
#0A1F06 #1A520F #2A8619 #3ABA23 #57DB3E

Accessibility & contrast

On white

4.64
#2A8619 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2A8619 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8619
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8619#FFFFFF#000000##FFFFFF
##2A86191.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#188272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a8619;
/* rgb */ color: rgb(42, 134, 25);
/* oklch */ color: oklch(54.5% 0.165 141.0);
Tailwind
colors: {
  custom: {
    50: '#72aa5f',
    500: '#2a8619',
    950: '#000000',
  },
}
SCSS
$custom: #2a8619;
$custom-light: #72aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8619",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 25
  },
  "hsl": {
    "h": 110.642,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.16525,
    "h": 141
  },
  "luminance": 0.17613
}

Semantic roles & 50–950 ramp

primary
#2A8619
secondary
#A741BA
accent
#3CEBD0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2A8619

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

Preview Lab → · Contrast checker → · Palette generator →

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