#2B811F#2B811F

#2B811F is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.156 H 141.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2B811F
RGBrgb(43, 129, 31)
HSLhsl(113, 61%, 31%)
HSVhsv(113, 76%, 51%)
CMYKcmyk(66.7%, 0%, 76%, 49.4%)
CIE-LABlab(47.38, -44.51, 42.98)
CIE-LCHlch(47.38, 61.88, 136.00°)
OKLaboklab(53.17% -0.1215 0.0971)
OKLCHoklch(53.17% 0.156 141.4)
XYZxyz(9.0934, 16.3121, 3.9654)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B811F #751F81
analogous
#5C811F #2B811F #1F8144
triadic
#2B811F #1F2B81 #811F2B
tetradic
#2B811F #1F5C81 #751F81 #81441F
square
#2B811F #1F5C81 #751F81 #81441F
split-complementary
#2B811F #441F81 #811F5C
monochromatic
#0A1E07 #1B5013 #2B811F #3BB22B #59D347

Accessibility & contrast

On white

4.93
#2B811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2B811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B811F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B811F#FFFFFF#000000##FFFFFF
##2B811F1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750C
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#1B7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b811f;
/* rgb */ color: rgb(43, 129, 31);
/* oklch */ color: oklch(53.2% 0.156 141.4);
Tailwind
colors: {
  custom: {
    50: '#71a662',
    500: '#2b811f',
    950: '#000000',
  },
}
SCSS
$custom: #2b811f;
$custom-light: #71a662;
$custom-dark: #000000;
JSON
{
  "hex": "#2b811f",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 112.653,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53172,
    "c": 0.15557,
    "h": 141.4
  },
  "luminance": 0.16313
}

Semantic roles & 50–950 ramp

primary
#2B811F
secondary
#A748B4
accent
#43E4D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2B811F

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

Preview Lab → · Contrast checker → · Palette generator →

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