#2A841D#2A841D

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

Color values

HEX#2A841D
RGBrgb(42, 132, 29)
HSLhsl(112, 64%, 32%)
HSVhsv(112, 78%, 52%)
CMYKcmyk(68.2%, 0%, 78%, 48.2%)
CIE-LABlab(48.36, -45.98, 44.69)
CIE-LCHlch(48.36, 64.12, 135.81°)
OKLaboklab(53.97% -0.1256 0.1004)
OKLCHoklch(53.97% 0.161 141.4)
XYZxyz(9.4274, 17.0825, 3.9626)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A841D #771D84
analogous
#5E841D #2A841D #1D8444
triadic
#2A841D #1D2A84 #841D2A
tetradic
#2A841D #1D5E84 #771D84 #84441D
square
#2A841D #1D5E84 #771D84 #84441D
split-complementary
#2A841D #441D84 #841D5E
monochromatic
#0A2007 #1A5212 #2A841D #3AB628 #58D645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A841D#FFFFFF#000000##FFFFFF
##2A841D1.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)
#877706
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#188070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a841d;
/* rgb */ color: rgb(42, 132, 29);
/* oklch */ color: oklch(54.0% 0.161 141.4);
Tailwind
colors: {
  custom: {
    50: '#71a961',
    500: '#2a841d',
    950: '#000000',
  },
}
SCSS
$custom: #2a841d;
$custom-light: #71a961;
$custom-dark: #000000;
JSON
{
  "hex": "#2a841d",
  "rgb": {
    "r": 42,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 112.427,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53974,
    "c": 0.16077,
    "h": 141.4
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A841D

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

Preview Lab → · Contrast checker → · Palette generator →

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