#2A9720#2A9720

#2A9720 is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.3% C 0.181 H 141.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2A9720
RGBrgb(42, 151, 32)
HSLhsl(115, 65%, 36%)
HSVhsv(115, 79%, 59%)
CMYKcmyk(72.2%, 0%, 78.8%, 40.8%)
CIE-LABlab(54.79, -52.36, 49.93)
CIE-LCHlch(54.79, 72.35, 136.36°)
OKLaboklab(59.31% -0.1426 0.1117)
OKLCHoklch(59.31% 0.181 141.9)
XYZxyz(12.2815, 22.7284, 5.1060)
Luminance0.2273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9720 #8D2097
analogous
#659720 #2A9720 #209751
triadic
#2A9720 #202A97 #97202A
tetradic
#2A9720 #206597 #8D2097 #975120
square
#2A9720 #206597 #8D2097 #975120
split-complementary
#2A9720 #512097 #972065
monochromatic
#0E320B #1C6415 #2A9720 #38C92B #61DB56

Accessibility & contrast

On white

3.79
#2A9720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#2A9720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9720
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9720#FFFFFF#000000##000000
##2A97201.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8801
Deuteranopia (green-blind)
#8E802E
Tritanopia (blue-blind)
#099281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a9720;
/* rgb */ color: rgb(42, 151, 32);
/* oklch */ color: oklch(59.3% 0.181 141.9);
Tailwind
colors: {
  custom: {
    50: '#75b765',
    500: '#2a9720',
    950: '#000000',
  },
}
SCSS
$custom: #2a9720;
$custom-light: #75b765;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9720",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 114.958,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59311,
    "c": 0.1812,
    "h": 141.9
  },
  "luminance": 0.2273
}

Semantic roles & 50–950 ramp

primary
#2A9720
secondary
#B654BF
accent
#40E8DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A9720

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

Preview Lab → · Contrast checker → · Palette generator →

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