#2A811C#2A811C

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

Color values

HEX#2A811C
RGBrgb(42, 129, 28)
HSLhsl(112, 64%, 31%)
HSVhsv(112, 78%, 51%)
CMYKcmyk(67.4%, 0%, 78.3%, 49.4%)
CIE-LABlab(47.33, -44.98, 44.04)
CIE-LCHlch(47.33, 62.95, 135.60°)
OKLaboklab(53.12% -0.1229 0.0989)
OKLCHoklch(53.12% 0.158 141.2)
XYZxyz(9.0142, 16.2757, 3.7649)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A811C #731C81
analogous
#5C811C #2A811C #1C8140
triadic
#2A811C #1C2A81 #811C2A
tetradic
#2A811C #1C5C81 #731C81 #81401C
square
#2A811C #1C5C81 #731C81 #81401C
split-complementary
#2A811C #401C81 #811C5C
monochromatic
#091C06 #1A4F11 #2A811C #3AB327 #56D642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A811C#FFFFFF#000000##FFFFFF
##2A811C1.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)
#847505
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#1A7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a811c;
/* rgb */ color: rgb(42, 129, 28);
/* oklch */ color: oklch(53.1% 0.158 141.2);
Tailwind
colors: {
  custom: {
    50: '#70a660',
    500: '#2a811c',
    950: '#000000',
  },
}
SCSS
$custom: #2a811c;
$custom-light: #70a660;
$custom-dark: #000000;
JSON
{
  "hex": "#2a811c",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 111.683,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53118,
    "c": 0.15774,
    "h": 141.2
  },
  "luminance": 0.16277
}

Semantic roles & 50–950 ramp

primary
#2A811C
secondary
#A544B4
accent
#40E7D0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2A811C

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

Preview Lab → · Contrast checker → · Palette generator →

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