#2B8027#2B8027

#2B8027 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.149 H 142.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2B8027
RGBrgb(43, 128, 39)
HSLhsl(117, 53%, 33%)
HSVhsv(117, 70%, 50%)
CMYKcmyk(66.4%, 0%, 69.5%, 49.8%)
CIE-LABlab(47.10, -43.41, 39.41)
CIE-LCHlch(47.10, 58.63, 137.77°)
OKLaboklab(52.96% -0.1181 0.0907)
OKLCHoklch(52.96% 0.149 142.5)
XYZxyz(9.0811, 16.0975, 4.5476)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8027 #7C2780
analogous
#588027 #2B8027 #27804F
triadic
#2B8027 #272B80 #80272B
tetradic
#2B8027 #275880 #7C2780 #804F27
square
#2B8027 #275880 #7C2780 #804F27
split-complementary
#2B8027 #4F2780 #802758
monochromatic
#0B220A #1B5119 #2B8027 #3BAF35 #5BCB56

Accessibility & contrast

On white

4.98
#2B8027 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2B8027 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8027
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8027#FFFFFF#000000##FFFFFF
##2B80271.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741B
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#1A7C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b8027;
/* rgb */ color: rgb(43, 128, 39);
/* oklch */ color: oklch(53.0% 0.149 142.5);
Tailwind
colors: {
  custom: {
    50: '#70a666',
    500: '#2b8027',
    950: '#000000',
  },
}
SCSS
$custom: #2b8027;
$custom-light: #70a666;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8027",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 39
  },
  "hsl": {
    "h": 117.303,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5296,
    "c": 0.14891,
    "h": 142.5
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#2B8027
secondary
#AC53B0
accent
#4BDDD6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B8027

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

Preview Lab → · Contrast checker → · Palette generator →

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