#2B8418#2B8418

#2B8418 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.163 H 140.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2B8418
RGBrgb(43, 132, 24)
HSLhsl(109, 69%, 31%)
HSVhsv(109, 82%, 52%)
CMYKcmyk(67.4%, 0%, 81.8%, 48.2%)
CIE-LABlab(48.36, -46.10, 46.39)
CIE-LCHlch(48.36, 65.40, 134.82°)
OKLaboklab(53.97% -0.1262 0.1032)
OKLCHoklch(53.97% 0.163 140.7)
XYZxyz(9.4119, 17.0811, 3.6650)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8418 #711884
analogous
#618418 #2B8418 #18843B
triadic
#2B8418 #182B84 #84182B
tetradic
#2B8418 #186184 #711884 #843B18
square
#2B8418 #186184 #711884 #843B18
split-complementary
#2B8418 #3B1884 #841861
monochromatic
#091C05 #1A500F #2B8418 #3CB821 #57DB3B

Accessibility & contrast

On white

4.76
#2B8418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2B8418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8418
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8418#FFFFFF#000000##FFFFFF
##2B84181.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#1B8070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b8418;
/* rgb */ color: rgb(43, 132, 24);
/* oklch */ color: oklch(54.0% 0.163 140.7);
Tailwind
colors: {
  custom: {
    50: '#72a95f',
    500: '#2b8418',
    950: '#000000',
  },
}
SCSS
$custom: #2b8418;
$custom-light: #72a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8418",
  "rgb": {
    "r": 43,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 109.444,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53971,
    "c": 0.16302,
    "h": 140.7
  },
  "luminance": 0.17082
}

Semantic roles & 50–950 ramp

primary
#2B8418
secondary
#A340B8
accent
#3CECCD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2B8418

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

Preview Lab → · Contrast checker → · Palette generator →

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