#2B8A2B#2B8A2B

#2B8A2B is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.159 H 143.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2B8A2B
RGBrgb(43, 138, 43)
HSLhsl(120, 52%, 35%)
HSVhsv(120, 69%, 54%)
CMYKcmyk(68.8%, 0%, 68.8%, 45.9%)
CIE-LABlab(50.53, -46.69, 41.35)
CIE-LCHlch(50.53, 62.37, 138.47°)
OKLaboklab(55.81% -0.1268 0.0953)
OKLCHoklch(55.81% 0.159 143.1)
XYZxyz(10.5202, 18.8639, 5.3717)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A2B #8A2B8A
analogous
#5A8A2B #2B8A2B #2B8A5A
triadic
#2B8A2B #2B2B8A #8A2B2B
tetradic
#2B8A2B #2B5A8A #8A2B8A #8A5A2B
square
#2B8A2B #2B5A8A #8A2B8A #8A5A2B
split-complementary
#2B8A2B #5A2B8A #8A2B5A
monochromatic
#0E2D0E #1C5B1C #2B8A2B #3AB93A #61CE61

Accessibility & contrast

On white

4.40
#2B8A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2B8A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8A2B
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8A2B#FFFFFF#000000##000000
##2B8A2B1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1E
Deuteranopia (green-blind)
#827534
Tritanopia (blue-blind)
#138677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b8a2b;
/* rgb */ color: rgb(43, 138, 43);
/* oklch */ color: oklch(55.8% 0.159 143.1);
Tailwind
colors: {
  custom: {
    50: '#72ad69',
    500: '#2b8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a2b;
$custom-light: #72ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a2b",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 120,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55807,
    "c": 0.15857,
    "h": 143.1
  },
  "luminance": 0.18865
}

Semantic roles & 50–950 ramp

primary
#2B8A2B
secondary
#B45DB4
accent
#4CDCDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2B8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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