#2B6712#2B6712

#2B6712 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.131 H 138.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2B6712
RGBrgb(43, 103, 18)
HSLhsl(102, 70%, 24%)
HSVhsv(102, 83%, 40%)
CMYKcmyk(58.3%, 0%, 82.5%, 59.6%)
CIE-LABlab(38.30, -35.46, 38.83)
CIE-LCHlch(38.30, 52.59, 132.40°)
OKLaboklab(45.64% -0.0979 0.0865)
OKLCHoklch(45.64% 0.131 138.6)
XYZxyz(5.9555, 10.2573, 2.2382)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6712 #4E1267
analogous
#556712 #2B6712 #126723
triadic
#2B6712 #122B67 #67122B
tetradic
#2B6712 #125567 #4E1267 #672312
square
#2B6712 #125567 #4E1267 #672312
split-complementary
#2B6712 #231267 #671255
monochromatic
#0B1A05 #153309 #2B6712 #419B1B #56CF24

Accessibility & contrast

On white

6.88
#2B6712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2B6712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6712
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6712#FFFFFF#000000##FFFFFF
##2B67121.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#256357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b6712;
/* rgb */ color: rgb(43, 103, 18);
/* oklch */ color: oklch(45.6% 0.131 138.6);
Tailwind
colors: {
  custom: {
    50: '#6c9358',
    500: '#2b6712',
    950: '#000000',
  },
}
SCSS
$custom: #2b6712;
$custom-light: #6c9358;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6712",
  "rgb": {
    "r": 43,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 102.353,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45638,
    "c": 0.13064,
    "h": 138.6
  },
  "luminance": 0.10258
}

Semantic roles & 50–950 ramp

primary
#2B6712
secondary
#80369F
accent
#3BEDB9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2B6712

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

Preview Lab → · Contrast checker → · Palette generator →

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