#2A841E#2A841E

#2A841E is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.160 H 141.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2A841E
RGBrgb(42, 132, 30)
HSLhsl(113, 63%, 32%)
HSVhsv(113, 77%, 52%)
CMYKcmyk(68.2%, 0%, 77.3%, 48.2%)
CIE-LABlab(48.37, -45.91, 44.34)
CIE-LCHlch(48.37, 63.82, 136.00°)
OKLaboklab(53.98% -0.1253 0.0998)
OKLCHoklch(53.98% 0.16 141.5)
XYZxyz(9.4400, 17.0875, 4.0288)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A841E #781E84
analogous
#5D841E #2A841E #1E8445
triadic
#2A841E #1E2A84 #841E2A
tetradic
#2A841E #1E5D84 #781E84 #84451E
square
#2A841E #1E5D84 #781E84 #84451E
split-complementary
#2A841E #451E84 #841E5D
monochromatic
#0A2007 #1A5213 #2A841E #3AB629 #58D547

Accessibility & contrast

On white

4.75
#2A841E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2A841E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A841E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A841E#FFFFFF#000000##FFFFFF
##2A841E1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877708
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#188071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a841e;
/* rgb */ color: rgb(42, 132, 30);
/* oklch */ color: oklch(54.0% 0.160 141.5);
Tailwind
colors: {
  custom: {
    50: '#71a962',
    500: '#2a841e',
    950: '#000000',
  },
}
SCSS
$custom: #2a841e;
$custom-light: #71a962;
$custom-dark: #000000;
JSON
{
  "hex": "#2a841e",
  "rgb": {
    "r": 42,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 112.941,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53981,
    "c": 0.16019,
    "h": 141.5
  },
  "luminance": 0.17089
}

Semantic roles & 50–950 ramp

primary
#2A841E
secondary
#AA47B7
accent
#42E6D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2A841E

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

Preview Lab → · Contrast checker → · Palette generator →

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