#2B8518#2B8518

#2B8518 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.164 H 140.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2B8518
RGBrgb(43, 133, 24)
HSLhsl(110, 69%, 31%)
HSVhsv(110, 82%, 52%)
CMYKcmyk(67.7%, 0%, 82%, 47.8%)
CIE-LABlab(48.70, -46.46, 46.72)
CIE-LCHlch(48.70, 65.88, 134.84°)
OKLaboklab(54.25% -0.1272 0.1039)
OKLCHoklch(54.25% 0.164 140.8)
XYZxyz(9.5482, 17.3536, 3.7104)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8518 #721885
analogous
#618518 #2B8518 #18853B
triadic
#2B8518 #182B85 #85182B
tetradic
#2B8518 #186185 #721885 #853B18
square
#2B8518 #186185 #721885 #853B18
split-complementary
#2B8518 #3B1885 #851861
monochromatic
#091D05 #1A510F #2B8518 #3CB921 #58DC3C

Accessibility & contrast

On white

4.70
#2B8518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2B8518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8518
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8518#FFFFFF#000000##FFFFFF
##2B85181.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#1B8171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b8518;
/* rgb */ color: rgb(43, 133, 24);
/* oklch */ color: oklch(54.3% 0.164 140.8);
Tailwind
colors: {
  custom: {
    50: '#72a95f',
    500: '#2b8518',
    950: '#000000',
  },
}
SCSS
$custom: #2b8518;
$custom-light: #72a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8518",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 109.541,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54253,
    "c": 0.1642,
    "h": 140.8
  },
  "luminance": 0.17355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B8518

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

Preview Lab → · Contrast checker → · Palette generator →

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