#2A831E#2A831E

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

Color values

HEX#2A831E
RGBrgb(42, 131, 30)
HSLhsl(113, 63%, 32%)
HSVhsv(113, 77%, 51%)
CMYKcmyk(67.9%, 0%, 77.1%, 48.6%)
CIE-LABlab(48.03, -45.55, 44.00)
CIE-LCHlch(48.03, 63.33, 135.99°)
OKLaboklab(53.7% -0.1243 0.0991)
OKLCHoklch(53.7% 0.159 141.4)
XYZxyz(9.3050, 16.8176, 3.9838)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A831E #771E83
analogous
#5D831E #2A831E #1E8345
triadic
#2A831E #1E2A83 #831E2A
tetradic
#2A831E #1E5D83 #771E83 #83451E
square
#2A831E #1E5D83 #771E83 #83451E
split-complementary
#2A831E #451E83 #831E5D
monochromatic
#0A1F07 #1A5113 #2A831E #3AB529 #58D547

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A831E#FFFFFF#000000##FFFFFF
##2A831E1.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)
#867609
Deuteranopia (green-blind)
#7C6F29
Tritanopia (blue-blind)
#187F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a831e;
/* rgb */ color: rgb(42, 131, 30);
/* oklch */ color: oklch(53.7% 0.159 141.4);
Tailwind
colors: {
  custom: {
    50: '#71a861',
    500: '#2a831e',
    950: '#000000',
  },
}
SCSS
$custom: #2a831e;
$custom-light: #71a861;
$custom-dark: #000000;
JSON
{
  "hex": "#2a831e",
  "rgb": {
    "r": 42,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 112.871,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53698,
    "c": 0.15899,
    "h": 141.4
  },
  "luminance": 0.16819
}

Semantic roles & 50–950 ramp

primary
#2A831E
secondary
#A947B6
accent
#42E6D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2A831E

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

Preview Lab → · Contrast checker → · Palette generator →

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