#2B851D#2B851D

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

Color values

HEX#2B851D
RGBrgb(43, 133, 29)
HSLhsl(112, 64%, 32%)
HSVhsv(112, 78%, 52%)
CMYKcmyk(67.7%, 0%, 78.2%, 47.8%)
CIE-LABlab(48.73, -46.12, 45.06)
CIE-LCHlch(48.73, 64.48, 135.66°)
OKLaboklab(54.29% -0.126 0.1012)
OKLCHoklch(54.29% 0.162 141.2)
XYZxyz(9.6051, 17.3764, 4.0100)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B851D #771D85
analogous
#5F851D #2B851D #1D8543
triadic
#2B851D #1D2B85 #851D2B
tetradic
#2B851D #1D5F85 #771D85 #85431D
square
#2B851D #1D5F85 #771D85 #85431D
split-complementary
#2B851D #431D85 #851D5F
monochromatic
#0B2107 #1B5312 #2B851D #3BB728 #59D746

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B851D#FFFFFF#000000##FFFFFF
##2B851D1.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)
#887805
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#1A8171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b851d;
/* rgb */ color: rgb(43, 133, 29);
/* oklch */ color: oklch(54.3% 0.162 141.2);
Tailwind
colors: {
  custom: {
    50: '#72a961',
    500: '#2b851d',
    950: '#000000',
  },
}
SCSS
$custom: #2b851d;
$custom-light: #72a961;
$custom-dark: #000000;
JSON
{
  "hex": "#2b851d",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 111.923,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54285,
    "c": 0.16158,
    "h": 141.2
  },
  "luminance": 0.17377
}

Semantic roles & 50–950 ramp

primary
#2B851D
secondary
#A946B8
accent
#41E7D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2B851D

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

Preview Lab → · Contrast checker → · Palette generator →

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