#2B6B18#2B6B18

#2B6B18 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.132 H 139.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#2B6B18
RGBrgb(43, 107, 24)
HSLhsl(106, 63%, 26%)
HSVhsv(106, 78%, 42%)
CMYKcmyk(59.8%, 0%, 77.6%, 58%)
CIE-LABlab(39.74, -36.64, 38.02)
CIE-LCHlch(39.74, 52.80, 133.94°)
OKLaboklab(46.84% -0.1007 0.0857)
OKLCHoklch(46.84% 0.132 139.6)
XYZxyz(6.4186, 11.0944, 2.6672)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6B18 #58186B
analogous
#546B18 #2B6B18 #186B2E
triadic
#2B6B18 #182B6B #6B182B
tetradic
#2B6B18 #18546B #58186B #6B2E18
square
#2B6B18 #18546B #58186B #6B2E18
split-complementary
#2B6B18 #2E186B #6B1854
monochromatic
#0A1906 #17390D #2B6B18 #3F9D23 #53CF2E

Accessibility & contrast

On white

6.52
#2B6B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2B6B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6B18
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6B18#FFFFFF#000000##FFFFFF
##2B6B181.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6108
Deuteranopia (green-blind)
#665C21
Tritanopia (blue-blind)
#24675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b6b18;
/* rgb */ color: rgb(43, 107, 24);
/* oklch */ color: oklch(46.8% 0.132 139.6);
Tailwind
colors: {
  custom: {
    50: '#6d965b',
    500: '#2b6b18',
    950: '#000000',
  },
}
SCSS
$custom: #2b6b18;
$custom-light: #6d965b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6b18",
  "rgb": {
    "r": 43,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 106.265,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46837,
    "c": 0.13225,
    "h": 139.6
  },
  "luminance": 0.11095
}

Semantic roles & 50–950 ramp

primary
#2B6B18
secondary
#8A3EA1
accent
#41E6C1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6B18

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

Preview Lab → · Contrast checker → · Palette generator →

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