#2B6E18#2B6E18

#2B6E18 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.136 H 139.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2B6E18
RGBrgb(43, 110, 24)
HSLhsl(107, 64%, 26%)
HSVhsv(107, 78%, 43%)
CMYKcmyk(60.9%, 0%, 78.2%, 56.9%)
CIE-LABlab(40.78, -37.84, 39.06)
CIE-LCHlch(40.78, 54.38, 134.09°)
OKLaboklab(47.7% -0.1039 0.0879)
OKLCHoklch(47.7% 0.136 139.8)
XYZxyz(6.7368, 11.7308, 2.7732)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6E18 #5B186E
analogous
#566E18 #2B6E18 #186E30
triadic
#2B6E18 #182B6E #6E182B
tetradic
#2B6E18 #18566E #5B186E #6E3018
square
#2B6E18 #18566E #5B186E #6E3018
split-complementary
#2B6E18 #30186E #6E1856
monochromatic
#0A1905 #173C0D #2B6E18 #3FA023 #53D22F

Accessibility & contrast

On white

6.28
#2B6E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2B6E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6E18
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6E18#FFFFFF#000000##FFFFFF
##2B6E181.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716407
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#236A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b6e18;
/* rgb */ color: rgb(43, 110, 24);
/* oklch */ color: oklch(47.7% 0.136 139.8);
Tailwind
colors: {
  custom: {
    50: '#6d985b',
    500: '#2b6e18',
    950: '#000000',
  },
}
SCSS
$custom: #2b6e18;
$custom-light: #6d985b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6e18",
  "rgb": {
    "r": 43,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 106.744,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47701,
    "c": 0.13613,
    "h": 139.8
  },
  "luminance": 0.11731
}

Semantic roles & 50–950 ramp

primary
#2B6E18
secondary
#8D3EA4
accent
#41E7C2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2B6E18

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

Preview Lab → · Contrast checker → · Palette generator →

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