#2A712A#2A712A

#2A712A is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.127 H 143.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2A712A
RGBrgb(42, 113, 42)
HSLhsl(120, 46%, 30%)
HSVhsv(120, 63%, 44%)
CMYKcmyk(62.8%, 0%, 62.8%, 55.7%)
CIE-LABlab(41.95, -37.48, 32.27)
CIE-LCHlch(41.95, 49.46, 139.27°)
OKLaboklab(48.71% -0.1018 0.0758)
OKLCHoklch(48.71% 0.127 143.3)
XYZxyz(7.2775, 12.4690, 4.2133)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A712A #712A71
analogous
#4D712A #2A712A #2A714D
triadic
#2A712A #2A2A71 #712A2A
tetradic
#2A712A #2A4D71 #712A71 #714D2A
square
#2A712A #2A4D71 #712A71 #714D2A
split-complementary
#2A712A #4D2A71 #712A4D
monochromatic
#091809 #194419 #2A712A #3B9E3B #55C055

Accessibility & contrast

On white

6.01
#2A712A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2A712A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A712A
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A712A#FFFFFF#000000##FFFFFF
##2A712A1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736722
Deuteranopia (green-blind)
#6A6130
Tritanopia (blue-blind)
#1D6E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a712a;
/* rgb */ color: rgb(42, 113, 42);
/* oklch */ color: oklch(48.7% 0.127 143.3);
Tailwind
colors: {
  custom: {
    50: '#6c9a66',
    500: '#2a712a',
    950: '#000000',
  },
}
SCSS
$custom: #2a712a;
$custom-light: #6c9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a712a",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48706,
    "c": 0.12695,
    "h": 143.3
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#2A712A
secondary
#A354A3
accent
#52D5D5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A712A

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

Preview Lab → · Contrast checker → · Palette generator →

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