#2B6418#2B6418

#2B6418 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.8% C 0.123 H 139.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2B6418
RGBrgb(43, 100, 24)
HSLhsl(105, 61%, 24%)
HSVhsv(105, 76%, 39%)
CMYKcmyk(57%, 0%, 76%, 60.8%)
CIE-LABlab(37.29, -33.76, 35.54)
CIE-LCHlch(37.29, 49.02, 133.54°)
OKLaboklab(44.82% -0.093 0.0805)
OKLCHoklch(44.82% 0.123 139.1)
XYZxyz(5.7181, 9.6934, 2.4337)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6418 #511864
analogous
#516418 #2B6418 #18642B
triadic
#2B6418 #182B64 #64182B
tetradic
#2B6418 #185164 #511864 #642B18
square
#2B6418 #185164 #511864 #642B18
split-complementary
#2B6418 #2B1864 #641851
monochromatic
#0B1906 #16330C #2B6418 #409524 #55C730

Accessibility & contrast

On white

7.15
#2B6418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2B6418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6418
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6418#FFFFFF#000000##FFFFFF
##2B64181.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0B
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#256055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b6418;
/* rgb */ color: rgb(43, 100, 24);
/* oklch */ color: oklch(44.8% 0.123 139.1);
Tailwind
colors: {
  custom: {
    50: '#6b915a',
    500: '#2b6418',
    950: '#000000',
  },
}
SCSS
$custom: #2b6418;
$custom-light: #6b915a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6418",
  "rgb": {
    "r": 43,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 105,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44815,
    "c": 0.12298,
    "h": 139.1
  },
  "luminance": 0.09694
}

Semantic roles & 50–950 ramp

primary
#2B6418
secondary
#833E9A
accent
#43E4BC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2B6418

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

Preview Lab → · Contrast checker → · Palette generator →

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