#2A8920#2A8920

#2A8920 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.165 H 141.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2A8920
RGBrgb(42, 137, 32)
HSLhsl(114, 62%, 33%)
HSVhsv(114, 77%, 54%)
CMYKcmyk(69.3%, 0%, 76.6%, 46.3%)
CIE-LABlab(50.08, -47.53, 45.31)
CIE-LCHlch(50.08, 65.67, 136.37°)
OKLaboklab(55.4% -0.1296 0.1021)
OKLCHoklch(55.4% 0.165 141.8)
XYZxyz(10.1607, 18.4868, 4.3991)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8920 #7F2089
analogous
#5E8920 #2A8920 #20894A
triadic
#2A8920 #202A89 #89202A
tetradic
#2A8920 #205E89 #7F2089 #894A20
square
#2A8920 #205E89 #7F2089 #894A20
split-complementary
#2A8920 #4A2089 #89205E
monochromatic
#0C2609 #1B5714 #2A8920 #39BB2C #5BD64E

Accessibility & contrast

On white

4.47
#2A8920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2A8920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8920
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8920#FFFFFF#000000##000000
##2A89201.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0A
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#158575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8920;
/* rgb */ color: rgb(42, 137, 32);
/* oklch */ color: oklch(55.4% 0.165 141.8);
Tailwind
colors: {
  custom: {
    50: '#72ac63',
    500: '#2a8920',
    950: '#000000',
  },
}
SCSS
$custom: #2a8920;
$custom-light: #72ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8920",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 114.286,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55403,
    "c": 0.16499,
    "h": 141.8
  },
  "luminance": 0.18488
}

Semantic roles & 50–950 ramp

primary
#2A8920
secondary
#AE4CB9
accent
#43E5D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8920

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

Preview Lab → · Contrast checker → · Palette generator →

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