#2B6912#2B6912

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

Color values

HEX#2B6912
RGBrgb(43, 105, 18)
HSLhsl(103, 71%, 24%)
HSVhsv(103, 83%, 41%)
CMYKcmyk(59%, 0%, 82.9%, 58.8%)
CIE-LABlab(39.00, -36.27, 39.50)
CIE-LCHlch(39.00, 53.63, 132.56°)
OKLaboklab(46.22% -0.1001 0.0879)
OKLCHoklch(46.22% 0.133 138.7)
XYZxyz(6.1568, 10.6599, 2.3053)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6912 #501269
analogous
#576912 #2B6912 #126925
triadic
#2B6912 #122B69 #69122B
tetradic
#2B6912 #125769 #501269 #692512
square
#2B6912 #125769 #501269 #692512
split-complementary
#2B6912 #251269 #691257
monochromatic
#0B1A04 #163509 #2B6912 #409D1B #56D124

Accessibility & contrast

On white

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

On black

3.13
#2B6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B6912#FFFFFF#000000##FFFFFF
##2B69121.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#256559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b6912;
/* rgb */ color: rgb(43, 105, 18);
/* oklch */ color: oklch(46.2% 0.133 138.7);
Tailwind
colors: {
  custom: {
    50: '#6c9458',
    500: '#2b6912',
    950: '#000000',
  },
}
SCSS
$custom: #2b6912;
$custom-light: #6c9458;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6912",
  "rgb": {
    "r": 43,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 102.759,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46217,
    "c": 0.1332,
    "h": 138.7
  },
  "luminance": 0.1066
}

Semantic roles & 50–950 ramp

primary
#2B6912
secondary
#8236A1
accent
#3AEDBA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6912

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

Preview Lab → · Contrast checker → · Palette generator →

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