#2B8A45#2B8A45

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

Color values

HEX#2B8A45
RGBrgb(43, 138, 69)
HSLhsl(136, 52%, 35%)
HSVhsv(136, 69%, 54%)
CMYKcmyk(68.8%, 0%, 50%, 45.9%)
CIE-LABlab(50.83, -43.22, 28.97)
CIE-LCHlch(50.83, 52.03, 146.16°)
OKLaboklab(56.15% -0.1165 0.0705)
OKLCHoklch(56.15% 0.136 148.8)
XYZxyz(11.1581, 19.1190, 8.7314)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A45 #8A2B70
analogous
#408A2B #2B8A45 #2B8A74
triadic
#2B8A45 #452B8A #8A452B
tetradic
#2B8A45 #2B408A #8A2B70 #8A742B
square
#2B8A45 #2B408A #8A2B70 #8A742B
split-complementary
#2B8A45 #742B8A #8A2B40
monochromatic
#0E2D16 #1C5B2E #2B8A45 #3AB95C #61CE7F

Accessibility & contrast

On white

4.35
#2B8A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2B8A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8A45
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8A45#FFFFFF#000000##000000
##2B8A451.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E3F
Deuteranopia (green-blind)
#80764A
Tritanopia (blue-blind)
#01877A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b8a45;
/* rgb */ color: rgb(43, 138, 69);
/* oklch */ color: oklch(56.1% 0.136 148.8);
Tailwind
colors: {
  custom: {
    50: '#71ad7a',
    500: '#2b8a45',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a45;
$custom-light: #71ad7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a45",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 69
  },
  "hsl": {
    "h": 136.421,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5615,
    "c": 0.13616,
    "h": 148.8
  },
  "luminance": 0.1912
}

Semantic roles & 50–950 ramp

primary
#2B8A45
secondary
#B45D9C
accent
#4CB4DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2B8A45

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

Preview Lab → · Contrast checker → · Palette generator →

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