#2A851D#2A851D

#2A851D is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.162 H 141.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2A851D
RGBrgb(42, 133, 29)
HSLhsl(113, 64%, 32%)
HSVhsv(113, 78%, 52%)
CMYKcmyk(68.4%, 0%, 78.2%, 47.8%)
CIE-LABlab(48.70, -46.34, 45.03)
CIE-LCHlch(48.70, 64.61, 135.82°)
OKLaboklab(54.26% -0.1265 0.1011)
OKLCHoklch(54.26% 0.162 141.4)
XYZxyz(9.5636, 17.3550, 4.0080)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A851D #781D85
analogous
#5E851D #2A851D #1D8544
triadic
#2A851D #1D2A85 #851D2A
tetradic
#2A851D #1D5E85 #781D85 #85441D
square
#2A851D #1D5E85 #781D85 #85441D
split-complementary
#2A851D #441D85 #851D5E
monochromatic
#0A2107 #1A5312 #2A851D #3AB728 #58D746

Accessibility & contrast

On white

4.70
#2A851D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2A851D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A851D
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A851D#FFFFFF#000000##FFFFFF
##2A851D1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887805
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#188171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a851d;
/* rgb */ color: rgb(42, 133, 29);
/* oklch */ color: oklch(54.3% 0.162 141.4);
Tailwind
colors: {
  custom: {
    50: '#71a961',
    500: '#2a851d',
    950: '#000000',
  },
}
SCSS
$custom: #2a851d;
$custom-light: #71a961;
$custom-dark: #000000;
JSON
{
  "hex": "#2a851d",
  "rgb": {
    "r": 42,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 112.5,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54256,
    "c": 0.16195,
    "h": 141.4
  },
  "luminance": 0.17356
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A851D

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

Preview Lab → · Contrast checker → · Palette generator →

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