#2A7720#2A7720

#2A7720 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.143 H 141.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#2A7720
RGBrgb(42, 119, 32)
HSLhsl(113, 58%, 30%)
HSVhsv(113, 73%, 47%)
CMYKcmyk(64.7%, 0%, 73.1%, 53.3%)
CIE-LABlab(43.93, -40.92, 39.04)
CIE-LCHlch(43.93, 56.56, 136.35°)
OKLaboklab(50.31% -0.1117 0.089)
OKLCHoklch(50.31% 0.143 141.5)
XYZxyz(7.8120, 13.7894, 3.6162)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7720 #6D2077
analogous
#567720 #2A7720 #207741
triadic
#2A7720 #202A77 #77202A
tetradic
#2A7720 #205677 #6D2077 #774120
square
#2A7720 #205677 #6D2077 #774120
split-complementary
#2A7720 #412077 #772056
monochromatic
#091806 #194713 #2A7720 #3BA72D #54CD45

Accessibility & contrast

On white

5.59
#2A7720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2A7720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7720
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7720#FFFFFF#000000##FFFFFF
##2A77201.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C12
Deuteranopia (green-blind)
#716528
Tritanopia (blue-blind)
#1D7366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a7720;
/* rgb */ color: rgb(42, 119, 32);
/* oklch */ color: oklch(50.3% 0.143 141.5);
Tailwind
colors: {
  custom: {
    50: '#6e9f61',
    500: '#2a7720',
    950: '#000000',
  },
}
SCSS
$custom: #2a7720;
$custom-light: #6e9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7720",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 113.103,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50309,
    "c": 0.14284,
    "h": 141.5
  },
  "luminance": 0.1379
}

Semantic roles & 50–950 ramp

primary
#2A7720
secondary
#9F48AA
accent
#47E1CF
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A7720

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

Preview Lab → · Contrast checker → · Palette generator →

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