#2A831D#2A831D

#2A831D is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.160 H 141.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2A831D
RGBrgb(42, 131, 29)
HSLhsl(112, 64%, 31%)
HSVhsv(112, 78%, 51%)
CMYKcmyk(67.9%, 0%, 77.9%, 48.6%)
CIE-LABlab(48.02, -45.62, 44.36)
CIE-LCHlch(48.02, 63.63, 135.81°)
OKLaboklab(53.69% -0.1246 0.0997)
OKLCHoklch(53.69% 0.16 141.3)
XYZxyz(9.2924, 16.8126, 3.9176)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A831D #761D83
analogous
#5D831D #2A831D #1D8343
triadic
#2A831D #1D2A83 #831D2A
tetradic
#2A831D #1D5D83 #761D83 #83431D
square
#2A831D #1D5D83 #761D83 #83431D
split-complementary
#2A831D #431D83 #831D5D
monochromatic
#0A1F07 #1A5112 #2A831D #3AB528 #57D645

Accessibility & contrast

On white

4.81
#2A831D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2A831D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A831D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A831D#FFFFFF#000000##FFFFFF
##2A831D1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867606
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#197F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a831d;
/* rgb */ color: rgb(42, 131, 29);
/* oklch */ color: oklch(53.7% 0.160 141.3);
Tailwind
colors: {
  custom: {
    50: '#71a861',
    500: '#2a831d',
    950: '#000000',
  },
}
SCSS
$custom: #2a831d;
$custom-light: #71a861;
$custom-dark: #000000;
JSON
{
  "hex": "#2a831d",
  "rgb": {
    "r": 42,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 112.353,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53691,
    "c": 0.15957,
    "h": 141.3
  },
  "luminance": 0.16814
}

Semantic roles & 50–950 ramp

primary
#2A831D
secondary
#A846B6
accent
#41E7D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2A831D

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

Preview Lab → · Contrast checker → · Palette generator →

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