#2B851A#2B851A

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

Color values

HEX#2B851A
RGBrgb(43, 133, 26)
HSLhsl(110, 67%, 31%)
HSVhsv(110, 80%, 52%)
CMYKcmyk(67.7%, 0%, 80.5%, 47.8%)
CIE-LABlab(48.71, -46.33, 46.08)
CIE-LCHlch(48.71, 65.34, 135.16°)
OKLaboklab(54.26% -0.1267 0.1028)
OKLCHoklch(54.26% 0.163 140.9)
XYZxyz(9.5698, 17.3623, 3.8240)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B851A #741A85
analogous
#60851A #2B851A #1A853E
triadic
#2B851A #1A2B85 #851A2B
tetradic
#2B851A #1A6085 #741A85 #853E1A
square
#2B851A #1A6085 #741A85 #853E1A
split-complementary
#2B851A #3E1A85 #851A60
monochromatic
#0A1F06 #1A5210 #2B851A #3CB824 #58DA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B851A#FFFFFF#000000##FFFFFF
##2B851A1.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)
#897800
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#1A8171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b851a;
/* rgb */ color: rgb(43, 133, 26);
/* oklch */ color: oklch(54.3% 0.163 140.9);
Tailwind
colors: {
  custom: {
    50: '#72a960',
    500: '#2b851a',
    950: '#000000',
  },
}
SCSS
$custom: #2b851a;
$custom-light: #72a960;
$custom-dark: #000000;
JSON
{
  "hex": "#2b851a",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 110.467,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54265,
    "c": 0.16319,
    "h": 140.9
  },
  "luminance": 0.17363
}

Semantic roles & 50–950 ramp

primary
#2B851A
secondary
#A642B8
accent
#3EEACF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2B851A

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

Preview Lab → · Contrast checker → · Palette generator →

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