#2A811F#2A811F

#2A811F is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.156 H 141.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2A811F
RGBrgb(42, 129, 31)
HSLhsl(113, 61%, 31%)
HSVhsv(113, 76%, 51%)
CMYKcmyk(67.4%, 0%, 76%, 49.4%)
CIE-LABlab(47.35, -44.74, 42.95)
CIE-LCHlch(47.35, 62.02, 136.17°)
OKLaboklab(53.14% -0.1221 0.097)
OKLCHoklch(53.14% 0.156 141.5)
XYZxyz(9.0519, 16.2908, 3.9635)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A811F #761F81
analogous
#5B811F #2A811F #1F8145
triadic
#2A811F #1F2A81 #811F2A
tetradic
#2A811F #1F5B81 #761F81 #81451F
square
#2A811F #1F5B81 #761F81 #81451F
split-complementary
#2A811F #451F81 #811F5B
monochromatic
#0A1E07 #1A5013 #2A811F #3AB22B #57D347

Accessibility & contrast

On white

4.93
#2A811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2A811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A811F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A811F#FFFFFF#000000##FFFFFF
##2A811F1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750C
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#197D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a811f;
/* rgb */ color: rgb(42, 129, 31);
/* oklch */ color: oklch(53.1% 0.156 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a662',
    500: '#2a811f',
    950: '#000000',
  },
}
SCSS
$custom: #2a811f;
$custom-light: #70a662;
$custom-dark: #000000;
JSON
{
  "hex": "#2a811f",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 113.265,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53141,
    "c": 0.15597,
    "h": 141.5
  },
  "luminance": 0.16292
}

Semantic roles & 50–950 ramp

primary
#2A811F
secondary
#A848B4
accent
#43E4D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2A811F

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

Preview Lab → · Contrast checker → · Palette generator →

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