#2B8D18#2B8D18

#2B8D18 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.173 H 141.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2B8D18
RGBrgb(43, 141, 24)
HSLhsl(110, 71%, 32%)
HSVhsv(110, 83%, 55%)
CMYKcmyk(69.5%, 0%, 83%, 44.7%)
CIE-LABlab(51.41, -49.26, 49.25)
CIE-LCHlch(51.41, 69.66, 135.00°)
OKLaboklab(56.5% -0.1347 0.1092)
OKLCHoklch(56.5% 0.173 141)
XYZxyz(10.6854, 19.6282, 4.0895)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8D18 #7A188D
analogous
#668D18 #2B8D18 #188D3F
triadic
#2B8D18 #182B8D #8D182B
tetradic
#2B8D18 #18668D #7A188D #8D3F18
square
#2B8D18 #18668D #7A188D #8D3F18
split-complementary
#2B8D18 #3F188D #8D1866
monochromatic
#0B2406 #1B590F #2B8D18 #3BC121 #5ADF41

Accessibility & contrast

On white

4.26
#2B8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2B8D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8D18
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8D18#FFFFFF#000000##000000
##2B8D181.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#857827
Tritanopia (blue-blind)
#168878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b8d18;
/* rgb */ color: rgb(43, 141, 24);
/* oklch */ color: oklch(56.5% 0.173 141.0);
Tailwind
colors: {
  custom: {
    50: '#74af60',
    500: '#2b8d18',
    950: '#000000',
  },
}
SCSS
$custom: #2b8d18;
$custom-light: #74af60;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8d18",
  "rgb": {
    "r": 43,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 110.256,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56501,
    "c": 0.1734,
    "h": 141
  },
  "luminance": 0.19629
}

Semantic roles & 50–950 ramp

primary
#2B8D18
secondary
#AB42BF
accent
#3AEED1
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2B8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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