#2A761F#2A761F

#2A761F is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.142 H 141.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2A761F
RGBrgb(42, 118, 31)
HSLhsl(112, 58%, 29%)
HSVhsv(112, 74%, 46%)
CMYKcmyk(64.4%, 0%, 73.7%, 53.7%)
CIE-LABlab(43.58, -40.63, 39.09)
CIE-LCHlch(43.58, 56.38, 136.11°)
OKLaboklab(50.02% -0.111 0.089)
OKLCHoklch(50.02% 0.142 141.3)
XYZxyz(7.6802, 13.5473, 3.5062)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A761F #6B1F76
analogous
#56761F #2A761F #1F7640
triadic
#2A761F #1F2A76 #761F2A
tetradic
#2A761F #1F5676 #6B1F76 #76401F
square
#2A761F #1F5676 #6B1F76 #76401F
split-complementary
#2A761F #401F76 #761F56
monochromatic
#091806 #194612 #2A761F #3BA62C #54CD42

Accessibility & contrast

On white

5.66
#2A761F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2A761F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A761F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A761F#FFFFFF#000000##FFFFFF
##2A761F1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B11
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#1E7265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a761f;
/* rgb */ color: rgb(42, 118, 31);
/* oklch */ color: oklch(50.0% 0.142 141.3);
Tailwind
colors: {
  custom: {
    50: '#6e9e60',
    500: '#2a761f',
    950: '#000000',
  },
}
SCSS
$custom: #2a761f;
$custom-light: #6e9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a761f",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 112.414,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50015,
    "c": 0.14226,
    "h": 141.3
  },
  "luminance": 0.13548
}

Semantic roles & 50–950 ramp

primary
#2A761F
secondary
#9D47AA
accent
#46E2CE
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A761F

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

Preview Lab → · Contrast checker → · Palette generator →

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