#2B8A40#2B8A40

#2B8A40 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.141 H 147.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2B8A40
RGBrgb(43, 138, 64)
HSLhsl(133, 52%, 35%)
HSVhsv(133, 69%, 54%)
CMYKcmyk(68.8%, 0%, 53.6%, 45.9%)
CIE-LABlab(50.76, -44.01, 31.51)
CIE-LCHlch(50.76, 54.13, 144.40°)
OKLaboklab(56.07% -0.1187 0.0759)
OKLCHoklch(56.07% 0.141 147.4)
XYZxyz(11.0094, 19.0595, 7.9482)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A40 #8A2B75
analogous
#458A2B #2B8A40 #2B8A6F
triadic
#2B8A40 #402B8A #8A402B
tetradic
#2B8A40 #2B458A #8A2B75 #8A6F2B
square
#2B8A40 #2B458A #8A2B75 #8A6F2B
split-complementary
#2B8A40 #6F2B8A #8A2B45
monochromatic
#0E2D15 #1C5B2A #2B8A40 #3AB956 #61CE79

Accessibility & contrast

On white

4.36
#2B8A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2B8A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8A40
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8A40#FFFFFF#000000##000000
##2B8A401.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3A
Deuteranopia (green-blind)
#807645
Tritanopia (blue-blind)
#058779
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b8a40;
/* rgb */ color: rgb(43, 138, 64);
/* oklch */ color: oklch(56.1% 0.141 147.4);
Tailwind
colors: {
  custom: {
    50: '#71ad76',
    500: '#2b8a40',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a40;
$custom-light: #71ad76;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a40",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 133.263,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5607,
    "c": 0.14089,
    "h": 147.4
  },
  "luminance": 0.19061
}

Semantic roles & 50–950 ramp

primary
#2B8A40
secondary
#B45DA1
accent
#4CBCDC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2B8A40

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

Preview Lab → · Contrast checker → · Palette generator →

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