#2A712C#2A712C

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

Color values

HEX#2A712C
RGBrgb(42, 113, 44)
HSLhsl(122, 46%, 30%)
HSVhsv(122, 63%, 44%)
CMYKcmyk(62.8%, 0%, 61.1%, 55.7%)
CIE-LABlab(41.97, -37.22, 31.29)
CIE-LCHlch(41.97, 48.62, 139.94°)
OKLaboklab(48.73% -0.101 0.0739)
OKLCHoklch(48.73% 0.125 143.8)
XYZxyz(7.3142, 12.4837, 4.4065)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A712C #712A6F
analogous
#4B712A #2A712C #2A714F
triadic
#2A712C #2C2A71 #712C2A
tetradic
#2A712C #2A4B71 #712A6F #714F2A
square
#2A712C #2A4B71 #712A6F #714F2A
split-complementary
#2A712C #4F2A71 #712A4B
monochromatic
#091809 #19441B #2A712C #3B9E3D #55C058

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A712C#FFFFFF#000000##FFFFFF
##2A712C1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a712c;
/* rgb */ color: rgb(42, 113, 44);
/* oklch */ color: oklch(48.7% 0.125 143.8);
Tailwind
colors: {
  custom: {
    50: '#6c9a67',
    500: '#2a712c',
    950: '#000000',
  },
}
SCSS
$custom: #2a712c;
$custom-light: #6c9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a712c",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 44
  },
  "hsl": {
    "h": 121.69,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48732,
    "c": 0.12517,
    "h": 143.8
  },
  "luminance": 0.12484
}

Semantic roles & 50–950 ramp

primary
#2A712C
secondary
#A354A1
accent
#52D2D5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A712C

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

Preview Lab → · Contrast checker → · Palette generator →

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