#2B831D#2B831D

#2B831D is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.159 H 141.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2B831D
RGBrgb(43, 131, 29)
HSLhsl(112, 64%, 31%)
HSVhsv(112, 78%, 51%)
CMYKcmyk(67.2%, 0%, 77.9%, 48.6%)
CIE-LABlab(48.05, -45.40, 44.39)
CIE-LCHlch(48.05, 63.50, 135.64°)
OKLaboklab(53.72% -0.124 0.0998)
OKLCHoklch(53.72% 0.159 141.2)
XYZxyz(9.3338, 16.8340, 3.9195)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B831D #751D83
analogous
#5E831D #2B831D #1D8342
triadic
#2B831D #1D2B83 #831D2B
tetradic
#2B831D #1D5E83 #751D83 #83421D
square
#2B831D #1D5E83 #751D83 #83421D
split-complementary
#2B831D #421D83 #831D5E
monochromatic
#0A1F07 #1B5112 #2B831D #3BB528 #59D645

Accessibility & contrast

On white

4.81
#2B831D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2B831D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B831D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B831D#FFFFFF#000000##FFFFFF
##2B831D1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867606
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#1B7F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b831d;
/* rgb */ color: rgb(43, 131, 29);
/* oklch */ color: oklch(53.7% 0.159 141.2);
Tailwind
colors: {
  custom: {
    50: '#71a861',
    500: '#2b831d',
    950: '#000000',
  },
}
SCSS
$custom: #2b831d;
$custom-light: #71a861;
$custom-dark: #000000;
JSON
{
  "hex": "#2b831d",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 111.765,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53721,
    "c": 0.15918,
    "h": 141.2
  },
  "luminance": 0.16835
}

Semantic roles & 50–950 ramp

primary
#2B831D
secondary
#A746B6
accent
#41E7D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2B831D

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

Preview Lab → · Contrast checker → · Palette generator →

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