#2A8620#2A8620

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

Color values

HEX#2A8620
RGBrgb(42, 134, 32)
HSLhsl(114, 61%, 33%)
HSVhsv(114, 76%, 53%)
CMYKcmyk(68.7%, 0%, 76.1%, 47.5%)
CIE-LABlab(49.06, -46.47, 44.29)
CIE-LCHlch(49.06, 64.19, 136.38°)
OKLaboklab(54.56% -0.1267 0.1)
OKLCHoklch(54.56% 0.161 141.7)
XYZxyz(9.7401, 17.6457, 4.2589)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8620 #7C2086
analogous
#5D8620 #2A8620 #208649
triadic
#2A8620 #202A86 #86202A
tetradic
#2A8620 #205D86 #7C2086 #864920
square
#2A8620 #205D86 #7C2086 #864920
split-complementary
#2A8620 #492086 #86205D
monochromatic
#0B2308 #1B5514 #2A8620 #39B72C #59D44C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8620#FFFFFF#000000##FFFFFF
##2A86201.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#7E722B
Tritanopia (blue-blind)
#168272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a8620;
/* rgb */ color: rgb(42, 134, 32);
/* oklch */ color: oklch(54.6% 0.161 141.7);
Tailwind
colors: {
  custom: {
    50: '#71aa63',
    500: '#2a8620',
    950: '#000000',
  },
}
SCSS
$custom: #2a8620;
$custom-light: #71aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8620",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 114.118,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5456,
    "c": 0.1614,
    "h": 141.7
  },
  "luminance": 0.17647
}

Semantic roles & 50–950 ramp

primary
#2A8620
secondary
#AD4BB7
accent
#43E5D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8620

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

Preview Lab → · Contrast checker → · Palette generator →

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