#2B8118#2B8118

#2B8118 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.159 H 140.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2B8118
RGBrgb(43, 129, 24)
HSLhsl(109, 69%, 30%)
HSVhsv(109, 81%, 51%)
CMYKcmyk(66.7%, 0%, 81.4%, 49.4%)
CIE-LABlab(47.34, -45.02, 45.42)
CIE-LCHlch(47.34, 63.96, 134.75°)
OKLaboklab(53.12% -0.1233 0.1012)
OKLCHoklch(53.12% 0.159 140.6)
XYZxyz(9.0109, 16.2792, 3.5313)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8118 #6E1881
analogous
#5F8118 #2B8118 #18813A
triadic
#2B8118 #182B81 #81182B
tetradic
#2B8118 #185F81 #6E1881 #813A18
square
#2B8118 #185F81 #6E1881 #813A18
split-complementary
#2B8118 #3A1881 #81185F
monochromatic
#091A05 #1A4D0E #2B8118 #3CB522 #56DA39

Accessibility & contrast

On white

4.93
#2B8118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2B8118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8118
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8118#FFFFFF#000000##FFFFFF
##2B81181.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#1C7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b8118;
/* rgb */ color: rgb(43, 129, 24);
/* oklch */ color: oklch(53.1% 0.159 140.6);
Tailwind
colors: {
  custom: {
    50: '#71a65e',
    500: '#2b8118',
    950: '#000000',
  },
}
SCSS
$custom: #2b8118;
$custom-light: #71a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8118",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 109.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.53123,
    "c": 0.15949,
    "h": 140.6
  },
  "luminance": 0.1628
}

Semantic roles & 50–950 ramp

primary
#2B8118
secondary
#A040B5
accent
#3CEBCC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2B8118

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

Preview Lab → · Contrast checker → · Palette generator →

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