#2B6918#2B6918

#2B6918 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.3% C 0.130 H 139.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2B6918
RGBrgb(43, 105, 24)
HSLhsl(106, 63%, 25%)
HSVhsv(106, 77%, 41%)
CMYKcmyk(59%, 0%, 77.1%, 58.8%)
CIE-LABlab(39.04, -35.83, 37.31)
CIE-LCHlch(39.04, 51.73, 133.84°)
OKLaboklab(46.26% -0.0985 0.0842)
OKLCHoklch(46.26% 0.13 139.5)
XYZxyz(6.2124, 10.6822, 2.5985)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6918 #561869
analogous
#536918 #2B6918 #18692D
triadic
#2B6918 #182B69 #69182B
tetradic
#2B6918 #185369 #561869 #692D18
square
#2B6918 #185369 #561869 #692D18
split-complementary
#2B6918 #2D1869 #691853
monochromatic
#0A1906 #17370D #2B6918 #3F9B23 #54CD2F

Accessibility & contrast

On white

6.70
#2B6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2B6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6918
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6918#FFFFFF#000000##FFFFFF
##2B69181.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#645A20
Tritanopia (blue-blind)
#246559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b6918;
/* rgb */ color: rgb(43, 105, 24);
/* oklch */ color: oklch(46.3% 0.130 139.5);
Tailwind
colors: {
  custom: {
    50: '#6c945b',
    500: '#2b6918',
    950: '#000000',
  },
}
SCSS
$custom: #2b6918;
$custom-light: #6c945b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6918",
  "rgb": {
    "r": 43,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 105.926,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4626,
    "c": 0.12964,
    "h": 139.5
  },
  "luminance": 0.10683
}

Semantic roles & 50–950 ramp

primary
#2B6918
secondary
#883E9F
accent
#42E6BF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6918

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

Preview Lab → · Contrast checker → · Palette generator →

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