#2A761E#2A761E

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

Color values

HEX#2A761E
RGBrgb(42, 118, 30)
HSLhsl(112, 59%, 29%)
HSVhsv(112, 75%, 46%)
CMYKcmyk(64.4%, 0%, 74.6%, 53.7%)
CIE-LABlab(43.57, -40.72, 39.49)
CIE-LCHlch(43.57, 56.73, 135.88°)
OKLaboklab(50.01% -0.1113 0.0897)
OKLCHoklch(50.01% 0.143 141.1)
XYZxyz(7.6672, 13.5421, 3.4379)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A761E #6A1E76
analogous
#56761E #2A761E #1E763E
triadic
#2A761E #1E2A76 #761E2A
tetradic
#2A761E #1E5676 #6A1E76 #763E1E
square
#2A761E #1E5676 #6A1E76 #763E1E
split-complementary
#2A761E #3E1E76 #761E56
monochromatic
#091806 #194512 #2A761E #3BA72A #53CE40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A761E#FFFFFF#000000##FFFFFF
##2A761E1.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)
#796B0F
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#1E7265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a761e;
/* rgb */ color: rgb(42, 118, 30);
/* oklch */ color: oklch(50.0% 0.143 141.1);
Tailwind
colors: {
  custom: {
    50: '#6e9e60',
    500: '#2a761e',
    950: '#000000',
  },
}
SCSS
$custom: #2a761e;
$custom-light: #6e9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a761e",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 30
  },
  "hsl": {
    "h": 111.818,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50006,
    "c": 0.14293,
    "h": 141.1
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#2A761E
secondary
#9C46AA
accent
#45E3CD
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A761E

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

Preview Lab → · Contrast checker → · Palette generator →

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