#2B831A#2B831A

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

Color values

HEX#2B831A
RGBrgb(43, 131, 26)
HSLhsl(110, 67%, 31%)
HSVhsv(110, 80%, 51%)
CMYKcmyk(67.2%, 0%, 80.2%, 48.6%)
CIE-LABlab(48.03, -45.61, 45.42)
CIE-LCHlch(48.03, 64.37, 135.12°)
OKLaboklab(53.7% -0.1248 0.1015)
OKLCHoklch(53.7% 0.161 140.9)
XYZxyz(9.2985, 16.8198, 3.7336)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B831A #721A83
analogous
#5F831A #2B831A #1A833D
triadic
#2B831A #1A2B83 #831A2B
tetradic
#2B831A #1A5F83 #721A83 #833D1A
square
#2B831A #1A5F83 #721A83 #833D1A
split-complementary
#2B831A #3D1A83 #831A5F
monochromatic
#091D06 #1A5010 #2B831A #3CB624 #58D93F

Accessibility & contrast

On white

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

On black

4.36
#2B831A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B831A#FFFFFF#000000##FFFFFF
##2B831A1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#1B7F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b831a;
/* rgb */ color: rgb(43, 131, 26);
/* oklch */ color: oklch(53.7% 0.161 140.9);
Tailwind
colors: {
  custom: {
    50: '#71a85f',
    500: '#2b831a',
    950: '#000000',
  },
}
SCSS
$custom: #2b831a;
$custom-light: #71a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b831a",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 110.286,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53701,
    "c": 0.16083,
    "h": 140.9
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

primary
#2B831A
secondary
#A442B7
accent
#3EEACE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2B831A

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

Preview Lab → · Contrast checker → · Palette generator →

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