#2A791D#2A791D

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

Color values

HEX#2A791D
RGBrgb(42, 121, 29)
HSLhsl(112, 61%, 29%)
HSVhsv(112, 76%, 47%)
CMYKcmyk(65.3%, 0%, 76%, 52.5%)
CIE-LABlab(44.60, -41.94, 40.94)
CIE-LCHlch(44.60, 58.61, 135.70°)
OKLaboklab(50.85% -0.1147 0.0925)
OKLCHoklch(50.85% 0.147 141.1)
XYZxyz(8.0136, 14.2549, 3.4913)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A791D #6C1D79
analogous
#58791D #2A791D #1D793E
triadic
#2A791D #1D2A79 #791D2A
tetradic
#2A791D #1D5879 #6C1D79 #793E1D
square
#2A791D #1D5879 #6C1D79 #793E1D
split-complementary
#2A791D #3E1D79 #791D58
monochromatic
#091906 #194811 #2A791D #3BAA29 #54D13F

Accessibility & contrast

On white

5.45
#2A791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2A791D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A791D
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A791D#FFFFFF#000000##FFFFFF
##2A791D1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0C
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#1D7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a791d;
/* rgb */ color: rgb(42, 121, 29);
/* oklch */ color: oklch(50.9% 0.147 141.1);
Tailwind
colors: {
  custom: {
    50: '#6fa060',
    500: '#2a791d',
    950: '#000000',
  },
}
SCSS
$custom: #2a791d;
$custom-light: #6fa060;
$custom-dark: #000000;
JSON
{
  "hex": "#2a791d",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 111.522,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50854,
    "c": 0.14735,
    "h": 141.1
  },
  "luminance": 0.14256
}

Semantic roles & 50–950 ramp

primary
#2A791D
secondary
#9E45AD
accent
#43E4CE
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2A791D

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

Preview Lab → · Contrast checker → · Palette generator →

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