#2B6C18#2B6C18

#2B6C18 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.134 H 139.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#2B6C18
RGBrgb(43, 108, 24)
HSLhsl(106, 64%, 26%)
HSVhsv(106, 78%, 42%)
CMYKcmyk(60.2%, 0%, 77.8%, 57.6%)
CIE-LABlab(40.09, -37.04, 38.37)
CIE-LCHlch(40.09, 53.33, 134.00°)
OKLaboklab(47.13% -0.1018 0.0864)
OKLCHoklch(47.13% 0.134 139.7)
XYZxyz(6.5234, 11.3041, 2.7021)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6C18 #59186C
analogous
#556C18 #2B6C18 #186C2F
triadic
#2B6C18 #182B6C #6C182B
tetradic
#2B6C18 #18556C #59186C #6C2F18
square
#2B6C18 #18556C #59186C #6C2F18
split-complementary
#2B6C18 #2F186C #6C1855
monochromatic
#0A1906 #173A0D #2B6C18 #3F9E23 #53D02E

Accessibility & contrast

On white

6.44
#2B6C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2B6C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6C18
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6C18#FFFFFF#000000##FFFFFF
##2B6C181.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6208
Deuteranopia (green-blind)
#675C21
Tritanopia (blue-blind)
#23685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b6c18;
/* rgb */ color: rgb(43, 108, 24);
/* oklch */ color: oklch(47.1% 0.134 139.7);
Tailwind
colors: {
  custom: {
    50: '#6d975b',
    500: '#2b6c18',
    950: '#000000',
  },
}
SCSS
$custom: #2b6c18;
$custom-light: #6d975b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6c18",
  "rgb": {
    "r": 43,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 106.429,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47125,
    "c": 0.13356,
    "h": 139.7
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

primary
#2B6C18
secondary
#8B3EA2
accent
#41E7C1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6C18

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

Preview Lab → · Contrast checker → · Palette generator →

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