#2B8142#2B8142

#2B8142 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.126 H 148.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2B8142
RGBrgb(43, 129, 66)
HSLhsl(136, 50%, 34%)
HSVhsv(136, 67%, 51%)
CMYKcmyk(66.7%, 0%, 48.8%, 49.4%)
CIE-LABlab(47.76, -40.14, 26.72)
CIE-LCHlch(47.76, 48.22, 146.34°)
OKLaboklab(53.61% -0.1083 0.0652)
OKLCHoklch(53.61% 0.126 148.9)
XYZxyz(9.8292, 16.6064, 7.8406)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8142 #812B6A
analogous
#3F812B #2B8142 #2B816D
triadic
#2B8142 #422B81 #81422B
tetradic
#2B8142 #2B3F81 #812B6A #816D2B
square
#2B8142 #2B3F81 #812B6A #816D2B
split-complementary
#2B8142 #6D2B81 #812B3F
monochromatic
#0C2513 #1C532B #2B8142 #3AAF59 #5DC97A

Accessibility & contrast

On white

4.86
#2B8142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2B8142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8142
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8142#FFFFFF#000000##FFFFFF
##2B81421.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763D
Deuteranopia (green-blind)
#776E46
Tritanopia (blue-blind)
#0C7F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b8142;
/* rgb */ color: rgb(43, 129, 66);
/* oklch */ color: oklch(53.6% 0.126 148.9);
Tailwind
colors: {
  custom: {
    50: '#6fa677',
    500: '#2b8142',
    950: '#000000',
  },
}
SCSS
$custom: #2b8142;
$custom-light: #6fa677;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8142",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 136.047,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53607,
    "c": 0.12642,
    "h": 148.9
  },
  "luminance": 0.16607
}

Semantic roles & 50–950 ramp

primary
#2B8142
secondary
#AF5998
accent
#4EB4DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2B8142

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

Preview Lab → · Contrast checker → · Palette generator →

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