#2A8C20#2A8C20

#2A8C20 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.169 H 141.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2A8C20
RGBrgb(42, 140, 32)
HSLhsl(114, 63%, 34%)
HSVhsv(114, 77%, 55%)
CMYKcmyk(70%, 0%, 77.1%, 45.1%)
CIE-LABlab(51.10, -48.59, 46.31)
CIE-LCHlch(51.10, 67.12, 136.37°)
OKLaboklab(56.24% -0.1325 0.1042)
OKLCHoklch(56.24% 0.169 141.8)
XYZxyz(10.5931, 19.3516, 4.5432)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8C20 #82208C
analogous
#608C20 #2A8C20 #208C4C
triadic
#2A8C20 #202A8C #8C202A
tetradic
#2A8C20 #20608C #82208C #8C4C20
square
#2A8C20 #20608C #82208C #8C4C20
split-complementary
#2A8C20 #4C208C #8C2060
monochromatic
#0C2809 #1B5A15 #2A8C20 #39BE2B #5CD750

Accessibility & contrast

On white

4.31
#2A8C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2A8C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8C20
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8C20#FFFFFF#000000##000000
##2A8C201.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E08
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#138877
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8c20;
/* rgb */ color: rgb(42, 140, 32);
/* oklch */ color: oklch(56.2% 0.169 141.8);
Tailwind
colors: {
  custom: {
    50: '#73af64',
    500: '#2a8c20',
    950: '#000000',
  },
}
SCSS
$custom: #2a8c20;
$custom-light: #73af64;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8c20",
  "rgb": {
    "r": 42,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 114.444,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56244,
    "c": 0.16852,
    "h": 141.8
  },
  "luminance": 0.19353
}

Semantic roles & 50–950 ramp

primary
#2A8C20
secondary
#B04EBA
accent
#42E6D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8C20

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

Preview Lab → · Contrast checker → · Palette generator →

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