#2B6714#2B6714

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

Color values

HEX#2B6714
RGBrgb(43, 103, 20)
HSLhsl(103, 67%, 24%)
HSVhsv(103, 81%, 40%)
CMYKcmyk(58.3%, 0%, 80.6%, 59.6%)
CIE-LABlab(38.31, -35.32, 38.13)
CIE-LCHlch(38.31, 51.98, 132.81°)
OKLaboklab(45.65% -0.0974 0.0853)
OKLCHoklch(45.65% 0.13 138.8)
XYZxyz(5.9725, 10.2641, 2.3281)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6714 #501467
analogous
#556714 #2B6714 #146726
triadic
#2B6714 #142B67 #67142B
tetradic
#2B6714 #145567 #501467 #672614
square
#2B6714 #145567 #501467 #672614
split-complementary
#2B6714 #261467 #671455
monochromatic
#0B1A05 #16340A #2B6714 #409A1E #56CD28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B6714#FFFFFF#000000##FFFFFF
##2B67141.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)
#6A5D02
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#256357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b6714;
/* rgb */ color: rgb(43, 103, 20);
/* oklch */ color: oklch(45.7% 0.130 138.8);
Tailwind
colors: {
  custom: {
    50: '#6c9359',
    500: '#2b6714',
    950: '#000000',
  },
}
SCSS
$custom: #2b6714;
$custom-light: #6c9359;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6714",
  "rgb": {
    "r": 43,
    "g": 103,
    "b": 20
  },
  "hsl": {
    "h": 103.373,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45652,
    "c": 0.12951,
    "h": 138.8
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#2B6714
secondary
#82399E
accent
#3DEABA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6714

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

Preview Lab → · Contrast checker → · Palette generator →

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