#2A712D#2A712D

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

Color values

HEX#2A712D
RGBrgb(42, 113, 45)
HSLhsl(123, 46%, 30%)
HSVhsv(123, 63%, 44%)
CMYKcmyk(62.8%, 0%, 60.2%, 55.7%)
CIE-LABlab(41.99, -37.08, 30.79)
CIE-LCHlch(41.99, 48.20, 140.29°)
OKLaboklab(48.75% -0.1006 0.0729)
OKLCHoklch(48.75% 0.124 144.1)
XYZxyz(7.3332, 12.4913, 4.5067)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A712D #712A6E
analogous
#4A712A #2A712D #2A7150
triadic
#2A712D #2D2A71 #712D2A
tetradic
#2A712D #2A4A71 #712A6E #71502A
square
#2A712D #2A4A71 #712A6E #71502A
split-complementary
#2A712D #502A71 #712A4A
monochromatic
#091809 #19441B #2A712D #3B9E3F #55C05A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A712D#FFFFFF#000000##FFFFFF
##2A712D1.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)
#736726
Deuteranopia (green-blind)
#6A6132
Tritanopia (blue-blind)
#1C6E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a712d;
/* rgb */ color: rgb(42, 113, 45);
/* oklch */ color: oklch(48.7% 0.124 144.1);
Tailwind
colors: {
  custom: {
    50: '#6c9a68',
    500: '#2a712d',
    950: '#000000',
  },
}
SCSS
$custom: #2a712d;
$custom-light: #6c9a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2a712d",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 122.535,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48746,
    "c": 0.12426,
    "h": 144.1
  },
  "luminance": 0.12492
}

Semantic roles & 50–950 ramp

primary
#2A712D
secondary
#A354A0
accent
#52D0D5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A712D

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

Preview Lab → · Contrast checker → · Palette generator →

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