#2B6D18#2B6D18

#2B6D18 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.4% C 0.135 H 139.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2B6D18
RGBrgb(43, 109, 24)
HSLhsl(107, 64%, 26%)
HSVhsv(107, 78%, 43%)
CMYKcmyk(60.6%, 0%, 78%, 57.3%)
CIE-LABlab(40.44, -37.44, 38.71)
CIE-LCHlch(40.44, 53.86, 134.04°)
OKLaboklab(47.41% -0.1029 0.0872)
OKLCHoklch(47.41% 0.135 139.7)
XYZxyz(6.6295, 11.5162, 2.7375)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6D18 #5A186D
analogous
#556D18 #2B6D18 #186D2F
triadic
#2B6D18 #182B6D #6D182B
tetradic
#2B6D18 #18556D #5A186D #6D2F18
square
#2B6D18 #18556D #5A186D #6D2F18
split-complementary
#2B6D18 #2F186D #6D1855
monochromatic
#0A1906 #173B0D #2B6D18 #3F9F23 #53D12E

Accessibility & contrast

On white

6.36
#2B6D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2B6D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6D18
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6D18#FFFFFF#000000##FFFFFF
##2B6D181.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706307
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#23695D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b6d18;
/* rgb */ color: rgb(43, 109, 24);
/* oklch */ color: oklch(47.4% 0.135 139.7);
Tailwind
colors: {
  custom: {
    50: '#6d975b',
    500: '#2b6d18',
    950: '#000000',
  },
}
SCSS
$custom: #2b6d18;
$custom-light: #6d975b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6d18",
  "rgb": {
    "r": 43,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 106.588,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47413,
    "c": 0.13484,
    "h": 139.7
  },
  "luminance": 0.11517
}

Semantic roles & 50–950 ramp

primary
#2B6D18
secondary
#8C3EA3
accent
#41E7C2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2B6D18

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

Preview Lab → · Contrast checker → · Palette generator →

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