#2B851E#2B851E

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

Color values

HEX#2B851E
RGBrgb(43, 133, 30)
HSLhsl(112, 63%, 32%)
HSVhsv(112, 77%, 52%)
CMYKcmyk(67.7%, 0%, 77.4%, 47.8%)
CIE-LABlab(48.74, -46.04, 44.71)
CIE-LCHlch(48.74, 64.18, 135.84°)
OKLaboklab(54.29% -0.1257 0.1006)
OKLCHoklch(54.29% 0.161 141.3)
XYZxyz(9.6176, 17.3814, 4.0761)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B851E #781E85
analogous
#5F851E #2B851E #1E8545
triadic
#2B851E #1E2B85 #851E2B
tetradic
#2B851E #1E5F85 #781E85 #85451E
square
#2B851E #1E5F85 #781E85 #85451E
split-complementary
#2B851E #451E85 #851E5F
monochromatic
#0B2107 #1B5313 #2B851E #3BB729 #5AD648

Accessibility & contrast

On white

4.69
#2B851E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2B851E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B851E
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B851E#FFFFFF#000000##FFFFFF
##2B851E1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b851e;
/* rgb */ color: rgb(43, 133, 30);
/* oklch */ color: oklch(54.3% 0.161 141.3);
Tailwind
colors: {
  custom: {
    50: '#72a962',
    500: '#2b851e',
    950: '#000000',
  },
}
SCSS
$custom: #2b851e;
$custom-light: #72a962;
$custom-dark: #000000;
JSON
{
  "hex": "#2b851e",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 112.427,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54292,
    "c": 0.16101,
    "h": 141.3
  },
  "luminance": 0.17382
}

Semantic roles & 50–950 ramp

primary
#2B851E
secondary
#AA47B8
accent
#42E6D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2B851E

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

Preview Lab → · Contrast checker → · Palette generator →

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