#2A8622#2A8622

#2A8622 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.160 H 142.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2A8622
RGBrgb(42, 134, 34)
HSLhsl(115, 60%, 33%)
HSVhsv(115, 75%, 53%)
CMYKcmyk(68.7%, 0%, 74.6%, 47.5%)
CIE-LABlab(49.08, -46.30, 43.54)
CIE-LCHlch(49.08, 63.56, 136.76°)
OKLaboklab(54.58% -0.1262 0.0987)
OKLCHoklch(54.58% 0.16 142)
XYZxyz(9.7681, 17.6569, 4.4064)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8622 #7E2286
analogous
#5C8622 #2A8622 #22864C
triadic
#2A8622 #222A86 #86222A
tetradic
#2A8622 #225C86 #7E2286 #864C22
square
#2A8622 #225C86 #7E2286 #864C22
split-complementary
#2A8622 #4C2286 #86225C
monochromatic
#0B2409 #1B5516 #2A8622 #39B72E #5AD350

Accessibility & contrast

On white

4.63
#2A8622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2A8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8622
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8622#FFFFFF#000000##FFFFFF
##2A86221.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897910
Deuteranopia (green-blind)
#7E722C
Tritanopia (blue-blind)
#168272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a8622;
/* rgb */ color: rgb(42, 134, 34);
/* oklch */ color: oklch(54.6% 0.160 142.0);
Tailwind
colors: {
  custom: {
    50: '#71aa64',
    500: '#2a8622',
    950: '#000000',
  },
}
SCSS
$custom: #2a8622;
$custom-light: #71aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8622",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 115.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54575,
    "c": 0.16017,
    "h": 142
  },
  "luminance": 0.17658
}

Semantic roles & 50–950 ramp

primary
#2A8622
secondary
#AE4EB6
accent
#45E3D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8622

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

Preview Lab → · Contrast checker → · Palette generator →

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