#2B6615#2B6615

#2B6615 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.4% C 0.128 H 138.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2B6615
RGBrgb(43, 102, 21)
HSLhsl(104, 66%, 24%)
HSVhsv(104, 79%, 40%)
CMYKcmyk(57.8%, 0%, 79.4%, 60%)
CIE-LABlab(37.97, -34.84, 37.42)
CIE-LCHlch(37.97, 51.13, 132.95°)
OKLaboklab(45.37% -0.0961 0.084)
OKLCHoklch(45.37% 0.128 138.8)
XYZxyz(5.8828, 10.0700, 2.3430)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6615 #501566
analogous
#546615 #2B6615 #156628
triadic
#2B6615 #152B66 #66152B
tetradic
#2B6615 #155466 #501566 #662815
square
#2B6615 #155466 #501566 #662815
split-complementary
#2B6615 #281566 #661554
monochromatic
#0B1905 #16330B #2B6615 #40991F #56CC2A

Accessibility & contrast

On white

6.97
#2B6615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2B6615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6615
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6615#FFFFFF#000000##FFFFFF
##2B66151.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C05
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#256257
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b6615;
/* rgb */ color: rgb(43, 102, 21);
/* oklch */ color: oklch(45.4% 0.128 138.8);
Tailwind
colors: {
  custom: {
    50: '#6c9259',
    500: '#2b6615',
    950: '#000000',
  },
}
SCSS
$custom: #2b6615;
$custom-light: #6c9259;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6615",
  "rgb": {
    "r": 43,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 103.704,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45369,
    "c": 0.12761,
    "h": 138.8
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#2B6615
secondary
#823A9D
accent
#3FE9BB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6615

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

Preview Lab → · Contrast checker → · Palette generator →

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