#2B8B2A#2B8B2A

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

Color values

HEX#2B8B2A
RGBrgb(43, 139, 42)
HSLhsl(119, 54%, 35%)
HSVhsv(119, 70%, 55%)
CMYKcmyk(69.1%, 0%, 69.8%, 45.5%)
CIE-LABlab(50.86, -47.15, 42.13)
CIE-LCHlch(50.86, 63.23, 138.22°)
OKLaboklab(56.08% -0.1281 0.0968)
OKLCHoklch(56.08% 0.161 142.9)
XYZxyz(10.6462, 19.1449, 5.3243)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8B2A #8A2A8B
analogous
#5C8B2A #2B8B2A #2A8B59
triadic
#2B8B2A #2A2B8B #8B2A2B
tetradic
#2B8B2A #2A5C8B #8A2A8B #8B592A
square
#2B8B2A #2A5C8B #8A2A8B #8B592A
split-complementary
#2B8B2A #592A8B #8B2A5C
monochromatic
#0E2D0E #1C5C1C #2B8B2A #3ABA38 #61CF60

Accessibility & contrast

On white

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

On black

4.83
#2B8B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8B2A
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8B2A#FFFFFF#000000##000000
##2B8B2A1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#837633
Tritanopia (blue-blind)
#138777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b8b2a;
/* rgb */ color: rgb(43, 139, 42);
/* oklch */ color: oklch(56.1% 0.161 142.9);
Tailwind
colors: {
  custom: {
    50: '#72ae69',
    500: '#2b8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #2b8b2a;
$custom-light: #72ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8b2a",
  "rgb": {
    "r": 43,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 119.381,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56076,
    "c": 0.16054,
    "h": 142.9
  },
  "luminance": 0.19146
}

Semantic roles & 50–950 ramp

primary
#2B8B2A
secondary
#B45CB5
accent
#4BDDDB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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