#2B8140#2B8140

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

Color values

HEX#2B8140
RGBrgb(43, 129, 64)
HSLhsl(135, 50%, 34%)
HSVhsv(135, 67%, 51%)
CMYKcmyk(66.7%, 0%, 50.4%, 49.4%)
CIE-LABlab(47.73, -40.47, 27.77)
CIE-LCHlch(47.73, 49.08, 145.55°)
OKLaboklab(53.57% -0.1092 0.0675)
OKLCHoklch(53.57% 0.128 148.3)
XYZxyz(9.7712, 16.5833, 7.5354)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8140 #812B6C
analogous
#41812B #2B8140 #2B816B
triadic
#2B8140 #402B81 #81402B
tetradic
#2B8140 #2B4181 #812B6C #816B2B
square
#2B8140 #2B4181 #812B6C #816B2B
split-complementary
#2B8140 #6B2B81 #812B41
monochromatic
#0C2512 #1C5329 #2B8140 #3AAF57 #5DC978

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8140#FFFFFF#000000##FFFFFF
##2B81401.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)
#82763B
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#0E7E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b8140;
/* rgb */ color: rgb(43, 129, 64);
/* oklch */ color: oklch(53.6% 0.128 148.3);
Tailwind
colors: {
  custom: {
    50: '#6fa676',
    500: '#2b8140',
    950: '#000000',
  },
}
SCSS
$custom: #2b8140;
$custom-light: #6fa676;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8140",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 64
  },
  "hsl": {
    "h": 134.651,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53573,
    "c": 0.12839,
    "h": 148.3
  },
  "luminance": 0.16584
}

Semantic roles & 50–950 ramp

primary
#2B8140
secondary
#AF599A
accent
#4EB8DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2B8140

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

Preview Lab → · Contrast checker → · Palette generator →

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