#2B851B#2B851B

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

Color values

HEX#2B851B
RGBrgb(43, 133, 27)
HSLhsl(111, 66%, 31%)
HSVhsv(111, 80%, 52%)
CMYKcmyk(67.7%, 0%, 79.7%, 47.8%)
CIE-LABlab(48.72, -46.26, 45.75)
CIE-LCHlch(48.72, 65.06, 135.32°)
OKLaboklab(54.27% -0.1265 0.1023)
OKLCHoklch(54.27% 0.163 141)
XYZxyz(9.5811, 17.3668, 3.8839)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B851B #751B85
analogous
#60851B #2B851B #1B8540
triadic
#2B851B #1B2B85 #851B2B
tetradic
#2B851B #1B6085 #751B85 #85401B
square
#2B851B #1B6085 #751B85 #85401B
split-complementary
#2B851B #401B85 #851B60
monochromatic
#0A1F06 #1B5211 #2B851B #3BB825 #59D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B851B#FFFFFF#000000##FFFFFF
##2B851B1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#1A8171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b851b;
/* rgb */ color: rgb(43, 133, 27);
/* oklch */ color: oklch(54.3% 0.163 141.0);
Tailwind
colors: {
  custom: {
    50: '#72a960',
    500: '#2b851b',
    950: '#000000',
  },
}
SCSS
$custom: #2b851b;
$custom-light: #72a960;
$custom-dark: #000000;
JSON
{
  "hex": "#2b851b",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 110.943,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54272,
    "c": 0.16267,
    "h": 141
  },
  "luminance": 0.17368
}

Semantic roles & 50–950 ramp

primary
#2B851B
secondary
#A744B8
accent
#3FE9CF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2B851B

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

Preview Lab → · Contrast checker → · Palette generator →

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