#2B8A27#2B8A27

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

Color values

HEX#2B8A27
RGBrgb(43, 138, 39)
HSLhsl(118, 56%, 35%)
HSVhsv(118, 72%, 54%)
CMYKcmyk(68.8%, 0%, 71.7%, 45.9%)
CIE-LABlab(50.49, -47.08, 43.01)
CIE-LCHlch(50.49, 63.77, 137.59°)
OKLaboklab(55.77% -0.128 0.0982)
OKLCHoklch(55.77% 0.161 142.5)
XYZxyz(10.4504, 18.8359, 5.0040)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A27 #86278A
analogous
#5C8A27 #2B8A27 #278A55
triadic
#2B8A27 #272B8A #8A272B
tetradic
#2B8A27 #275C8A #86278A #8A5527
square
#2B8A27 #275C8A #86278A #8A5527
split-complementary
#2B8A27 #55278A #8A275C
monochromatic
#0D2B0C #1C5A1A #2B8A27 #3ABA34 #60D15B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8A27#FFFFFF#000000##000000
##2B8A271.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)
#8D7D18
Deuteranopia (green-blind)
#827531
Tritanopia (blue-blind)
#148676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b8a27;
/* rgb */ color: rgb(43, 138, 39);
/* oklch */ color: oklch(55.8% 0.161 142.5);
Tailwind
colors: {
  custom: {
    50: '#72ad67',
    500: '#2b8a27',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a27;
$custom-light: #72ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a27",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 117.576,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55769,
    "c": 0.16139,
    "h": 142.5
  },
  "luminance": 0.18837
}

Semantic roles & 50–950 ramp

primary
#2B8A27
secondary
#B257B6
accent
#49DFD9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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