#2B831C#2B831C

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

Color values

HEX#2B831C
RGBrgb(43, 131, 28)
HSLhsl(111, 65%, 31%)
HSVhsv(111, 79%, 51%)
CMYKcmyk(67.2%, 0%, 78.6%, 48.6%)
CIE-LABlab(48.04, -45.47, 44.75)
CIE-LCHlch(48.04, 63.79, 135.46°)
OKLaboklab(53.71% -0.1243 0.1003)
OKLCHoklch(53.71% 0.16 141.1)
XYZxyz(9.3217, 16.8291, 3.8555)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B831C #741C83
analogous
#5E831C #2B831C #1C8340
triadic
#2B831C #1C2B83 #831C2B
tetradic
#2B831C #1C5E83 #741C83 #83401C
square
#2B831C #1C5E83 #741C83 #83401C
split-complementary
#2B831C #401C83 #831C5E
monochromatic
#0A1E06 #1A5111 #2B831C #3CB527 #58D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B831C#FFFFFF#000000##FFFFFF
##2B831C1.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)
#867604
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#1B7F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b831c;
/* rgb */ color: rgb(43, 131, 28);
/* oklch */ color: oklch(53.7% 0.160 141.1);
Tailwind
colors: {
  custom: {
    50: '#71a860',
    500: '#2b831c',
    950: '#000000',
  },
}
SCSS
$custom: #2b831c;
$custom-light: #71a860;
$custom-dark: #000000;
JSON
{
  "hex": "#2b831c",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 111.262,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53714,
    "c": 0.15975,
    "h": 141.1
  },
  "luminance": 0.1683
}

Semantic roles & 50–950 ramp

primary
#2B831C
secondary
#A645B6
accent
#40E8CF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2B831C

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

Preview Lab → · Contrast checker → · Palette generator →

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