#2A711A#2A711A

#2A711A is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.139 H 140.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2A711A
RGBrgb(42, 113, 26)
HSLhsl(109, 63%, 27%)
HSVhsv(109, 77%, 44%)
CMYKcmyk(62.8%, 0%, 77%, 55.7%)
CIE-LABlab(41.81, -39.13, 39.30)
CIE-LCHlch(41.81, 55.46, 134.88°)
OKLaboklab(48.54% -0.1072 0.0887)
OKLCHoklch(48.54% 0.139 140.4)
XYZxyz(7.0461, 12.3764, 2.9947)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A711A #611A71
analogous
#55711A #2A711A #1A7136
triadic
#2A711A #1A2A71 #711A2A
tetradic
#2A711A #1A5571 #611A71 #71361A
square
#2A711A #1A5571 #611A71 #71361A
split-complementary
#2A711A #361A71 #711A55
monochromatic
#091906 #183F0F #2A711A #3CA325 #52D035

Accessibility & contrast

On white

6.04
#2A711A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2A711A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A711A
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A711A#FFFFFF#000000##FFFFFF
##2A711A1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746609
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#206D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a711a;
/* rgb */ color: rgb(42, 113, 26);
/* oklch */ color: oklch(48.5% 0.139 140.4);
Tailwind
colors: {
  custom: {
    50: '#6d9a5d',
    500: '#2a711a',
    950: '#000000',
  },
}
SCSS
$custom: #2a711a;
$custom-light: #6d9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a711a",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 26
  },
  "hsl": {
    "h": 108.966,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48541,
    "c": 0.13916,
    "h": 140.4
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#2A711A
secondary
#9341A6
accent
#42E6C8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2A711A

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

Preview Lab → · Contrast checker → · Palette generator →

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