#2B8B27#2B8B27

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

Color values

HEX#2B8B27
RGBrgb(43, 139, 39)
HSLhsl(118, 56%, 35%)
HSVhsv(118, 72%, 55%)
CMYKcmyk(69.1%, 0%, 71.9%, 45.5%)
CIE-LABlab(50.83, -47.44, 43.36)
CIE-LCHlch(50.83, 64.27, 137.57°)
OKLaboklab(56.05% -0.129 0.099)
OKLCHoklch(56.05% 0.163 142.5)
XYZxyz(10.5945, 19.1242, 5.0521)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8B27 #87278B
analogous
#5D8B27 #2B8B27 #278B55
triadic
#2B8B27 #272B8B #8B272B
tetradic
#2B8B27 #275D8B #87278B #8B5527
square
#2B8B27 #275D8B #87278B #8B5527
split-complementary
#2B8B27 #55278B #8B275D
monochromatic
#0D2B0C #1C5B1A #2B8B27 #3ABB34 #60D15B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8B27#FFFFFF#000000##000000
##2B8B271.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)
#8E7E17
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#148777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b8b27;
/* rgb */ color: rgb(43, 139, 39);
/* oklch */ color: oklch(56.0% 0.163 142.5);
Tailwind
colors: {
  custom: {
    50: '#73ae67',
    500: '#2b8b27',
    950: '#000000',
  },
}
SCSS
$custom: #2b8b27;
$custom-light: #73ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8b27",
  "rgb": {
    "r": 43,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 117.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56049,
    "c": 0.16262,
    "h": 142.5
  },
  "luminance": 0.19125
}

Semantic roles & 50–950 ramp

primary
#2B8B27
secondary
#B258B6
accent
#48DFD9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8B27

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

Preview Lab → · Contrast checker → · Palette generator →

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