#2B8A36#2B8A36

#2B8A36 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.150 H 145.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2B8A36
RGBrgb(43, 138, 54)
HSLhsl(127, 52%, 35%)
HSVhsv(127, 69%, 54%)
CMYKcmyk(68.8%, 0%, 60.9%, 45.9%)
CIE-LABlab(50.64, -45.42, 36.40)
CIE-LCHlch(50.64, 58.20, 141.29°)
OKLaboklab(55.93% -0.1228 0.0859)
OKLCHoklch(55.93% 0.15 145)
XYZxyz(10.7499, 18.9558, 6.5816)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A36 #8A2B7F
analogous
#508A2B #2B8A36 #2B8A65
triadic
#2B8A36 #362B8A #8A362B
tetradic
#2B8A36 #2B508A #8A2B7F #8A652B
square
#2B8A36 #2B508A #8A2B7F #8A652B
split-complementary
#2B8A36 #652B8A #8A2B50
monochromatic
#0E2D11 #1C5B24 #2B8A36 #3AB948 #61CE6E

Accessibility & contrast

On white

4.38
#2B8A36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2B8A36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8A36
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8A36#FFFFFF#000000##000000
##2B8A361.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2D
Deuteranopia (green-blind)
#81753D
Tritanopia (blue-blind)
#0E8678
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b8a36;
/* rgb */ color: rgb(43, 138, 54);
/* oklch */ color: oklch(55.9% 0.150 145.0);
Tailwind
colors: {
  custom: {
    50: '#72ad70',
    500: '#2b8a36',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a36;
$custom-light: #72ad70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a36",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 126.947,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55931,
    "c": 0.14985,
    "h": 145
  },
  "luminance": 0.18957
}

Semantic roles & 50–950 ramp

primary
#2B8A36
secondary
#B45DAA
accent
#4CCBDC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2B8A36

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

Preview Lab → · Contrast checker → · Palette generator →

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