#2B8D31#2B8D31

#2B8D31 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.158 H 144.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2B8D31
RGBrgb(43, 141, 49)
HSLhsl(124, 53%, 36%)
HSVhsv(124, 70%, 55%)
CMYKcmyk(69.5%, 0%, 65.2%, 44.7%)
CIE-LABlab(51.59, -47.13, 39.84)
CIE-LCHlch(51.59, 61.72, 139.79°)
OKLaboklab(56.71% -0.1277 0.0927)
OKLCHoklch(56.71% 0.158 144)
XYZxyz(11.0748, 19.7839, 6.1402)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8D31 #8D2B87
analogous
#568D2B #2B8D31 #2B8D62
triadic
#2B8D31 #312B8D #8D312B
tetradic
#2B8D31 #2B568D #8D2B87 #8D622B
square
#2B8D31 #2B568D #8D2B87 #8D622B
split-complementary
#2B8D31 #622B8D #8D2B56
monochromatic
#0E2F10 #1D5E21 #2B8D31 #39BC41 #63CF6A

Accessibility & contrast

On white

4.24
#2B8D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#2B8D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8D31
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8D31#FFFFFF#000000##000000
##2B8D311.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#847839
Tritanopia (blue-blind)
#0E897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b8d31;
/* rgb */ color: rgb(43, 141, 49);
/* oklch */ color: oklch(56.7% 0.158 144.0);
Tailwind
colors: {
  custom: {
    50: '#72af6d',
    500: '#2b8d31',
    950: '#000000',
  },
}
SCSS
$custom: #2b8d31;
$custom-light: #72af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8d31",
  "rgb": {
    "r": 43,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 123.673,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56706,
    "c": 0.15781,
    "h": 144
  },
  "luminance": 0.19785
}

Semantic roles & 50–950 ramp

primary
#2B8D31
secondary
#B65EB0
accent
#4BD4DD
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2B8D31

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

Preview Lab → · Contrast checker → · Palette generator →

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