#2A851E#2A851E

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

Color values

HEX#2A851E
RGBrgb(42, 133, 30)
HSLhsl(113, 63%, 32%)
HSVhsv(113, 77%, 52%)
CMYKcmyk(68.4%, 0%, 77.4%, 47.8%)
CIE-LABlab(48.71, -46.27, 44.68)
CIE-LCHlch(48.71, 64.31, 136.00°)
OKLaboklab(54.26% -0.1263 0.1005)
OKLCHoklch(54.26% 0.161 141.5)
XYZxyz(9.5762, 17.3601, 4.0742)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A851E #791E85
analogous
#5E851E #2A851E #1E8546
triadic
#2A851E #1E2A85 #851E2A
tetradic
#2A851E #1E5E85 #791E85 #85461E
square
#2A851E #1E5E85 #791E85 #85461E
split-complementary
#2A851E #461E85 #851E5E
monochromatic
#0A2107 #1A5313 #2A851E #3AB729 #58D648

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A851E#FFFFFF#000000##FFFFFF
##2A851E1.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)
#887808
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#178171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a851e;
/* rgb */ color: rgb(42, 133, 30);
/* oklch */ color: oklch(54.3% 0.161 141.5);
Tailwind
colors: {
  custom: {
    50: '#71a962',
    500: '#2a851e',
    950: '#000000',
  },
}
SCSS
$custom: #2a851e;
$custom-light: #71a962;
$custom-dark: #000000;
JSON
{
  "hex": "#2a851e",
  "rgb": {
    "r": 42,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 113.01,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54263,
    "c": 0.16138,
    "h": 141.5
  },
  "luminance": 0.17361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A851E

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

Preview Lab → · Contrast checker → · Palette generator →

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