#2A712F#2A712F

#2A712F is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.8% C 0.122 H 144.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2A712F
RGBrgb(42, 113, 47)
HSLhsl(124, 46%, 30%)
HSVhsv(124, 63%, 44%)
CMYKcmyk(62.8%, 0%, 58.4%, 55.7%)
CIE-LABlab(42.01, -36.81, 29.79)
CIE-LCHlch(42.01, 47.35, 141.02°)
OKLaboklab(48.77% -0.0998 0.0709)
OKLCHoklch(48.77% 0.122 144.6)
XYZxyz(7.3726, 12.5070, 4.7143)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A712F #712A6C
analogous
#49712A #2A712F #2A7152
triadic
#2A712F #2F2A71 #712F2A
tetradic
#2A712F #2A4971 #712A6C #71522A
square
#2A712F #2A4971 #712A6C #71522A
split-complementary
#2A712F #522A71 #712A49
monochromatic
#09180A #19441C #2A712F #3B9E42 #55C05D

Accessibility & contrast

On white

6.00
#2A712F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2A712F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A712F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A712F#FFFFFF#000000##FFFFFF
##2A712F1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736729
Deuteranopia (green-blind)
#6A6134
Tritanopia (blue-blind)
#1C6E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a712f;
/* rgb */ color: rgb(42, 113, 47);
/* oklch */ color: oklch(48.8% 0.122 144.6);
Tailwind
colors: {
  custom: {
    50: '#6c9a69',
    500: '#2a712f',
    950: '#000000',
  },
}
SCSS
$custom: #2a712f;
$custom-light: #6c9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a712f",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 124.225,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48774,
    "c": 0.1224,
    "h": 144.6
  },
  "luminance": 0.12508
}

Semantic roles & 50–950 ramp

primary
#2A712F
secondary
#A3549D
accent
#52CCD5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A712F

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

Preview Lab → · Contrast checker → · Palette generator →

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