#2B6F18#2B6F18

#2B6F18 is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.137 H 139.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#2B6F18
RGBrgb(43, 111, 24)
HSLhsl(107, 64%, 26%)
HSVhsv(107, 78%, 44%)
CMYKcmyk(61.3%, 0%, 78.4%, 56.5%)
CIE-LABlab(41.13, -38.24, 39.41)
CIE-LCHlch(41.13, 54.91, 134.14°)
OKLaboklab(47.99% -0.105 0.0886)
OKLCHoklch(47.99% 0.137 139.8)
XYZxyz(6.8453, 11.9478, 2.8094)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6F18 #5C186F
analogous
#576F18 #2B6F18 #186F31
triadic
#2B6F18 #182B6F #6F182B
tetradic
#2B6F18 #18576F #5C186F #6F3118
square
#2B6F18 #18576F #5C186F #6F3118
split-complementary
#2B6F18 #31186F #6F1857
monochromatic
#0A1905 #183D0D #2B6F18 #3EA123 #53D22F

Accessibility & contrast

On white

6.20
#2B6F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2B6F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6F18
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6F18#FFFFFF#000000##FFFFFF
##2B6F181.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#236B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b6f18;
/* rgb */ color: rgb(43, 111, 24);
/* oklch */ color: oklch(48.0% 0.137 139.8);
Tailwind
colors: {
  custom: {
    50: '#6d995c',
    500: '#2b6f18',
    950: '#000000',
  },
}
SCSS
$custom: #2b6f18;
$custom-light: #6d995c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6f18",
  "rgb": {
    "r": 43,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 106.897,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47988,
    "c": 0.13741,
    "h": 139.8
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#2B6F18
secondary
#8E3EA5
accent
#40E7C3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2B6F18

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

Preview Lab → · Contrast checker → · Palette generator →

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