#2B8618#2B8618

#2B8618 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.165 H 140.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2B8618
RGBrgb(43, 134, 24)
HSLhsl(110, 70%, 31%)
HSVhsv(110, 82%, 53%)
CMYKcmyk(67.9%, 0%, 82.1%, 47.5%)
CIE-LABlab(49.04, -46.81, 47.04)
CIE-LCHlch(49.04, 66.36, 134.86°)
OKLaboklab(54.54% -0.1281 0.1045)
OKLCHoklch(54.54% 0.165 140.8)
XYZxyz(9.6857, 17.6287, 3.7562)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8618 #731886
analogous
#628618 #2B8618 #18863C
triadic
#2B8618 #182B86 #86182B
tetradic
#2B8618 #186286 #731886 #863C18
square
#2B8618 #186286 #731886 #863C18
split-complementary
#2B8618 #3C1886 #861862
monochromatic
#0A1E05 #1A520F #2B8618 #3CBA21 #58DC3C

Accessibility & contrast

On white

4.64
#2B8618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2B8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8618
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8618#FFFFFF#000000##FFFFFF
##2B86181.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#1A8172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b8618;
/* rgb */ color: rgb(43, 134, 24);
/* oklch */ color: oklch(54.5% 0.165 140.8);
Tailwind
colors: {
  custom: {
    50: '#72aa5f',
    500: '#2b8618',
    950: '#000000',
  },
}
SCSS
$custom: #2b8618;
$custom-light: #72aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8618",
  "rgb": {
    "r": 43,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 109.636,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.16536,
    "h": 140.8
  },
  "luminance": 0.1763
}

Semantic roles & 50–950 ramp

primary
#2B8618
secondary
#A540BA
accent
#3BECCE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2B8618

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

Preview Lab → · Contrast checker → · Palette generator →

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