#2B851C#2B851C

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

Color values

HEX#2B851C
RGBrgb(43, 133, 28)
HSLhsl(111, 65%, 32%)
HSVhsv(111, 79%, 52%)
CMYKcmyk(67.7%, 0%, 78.9%, 47.8%)
CIE-LABlab(48.72, -46.19, 45.41)
CIE-LCHlch(48.72, 64.77, 135.49°)
OKLaboklab(54.28% -0.1262 0.1017)
OKLCHoklch(54.28% 0.162 141.1)
XYZxyz(9.5929, 17.3715, 3.9459)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B851C #761C85
analogous
#60851C #2B851C #1C8542
triadic
#2B851C #1C2B85 #851C2B
tetradic
#2B851C #1C6085 #761C85 #85421C
square
#2B851C #1C6085 #761C85 #85421C
split-complementary
#2B851C #421C85 #851C60
monochromatic
#0A2007 #1B5211 #2B851C #3BB827 #59D844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2b851c;
/* rgb */ color: rgb(43, 133, 28);
/* oklch */ color: oklch(54.3% 0.162 141.1);
Tailwind
colors: {
  custom: {
    50: '#72a961',
    500: '#2b851c',
    950: '#000000',
  },
}
SCSS
$custom: #2b851c;
$custom-light: #72a961;
$custom-dark: #000000;
JSON
{
  "hex": "#2b851c",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 111.429,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54278,
    "c": 0.16213,
    "h": 141.1
  },
  "luminance": 0.17372
}

Semantic roles & 50–950 ramp

primary
#2B851C
secondary
#A845B8
accent
#40E8D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2B851C

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

Preview Lab → · Contrast checker → · Palette generator →

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