#2B6617#2B6617

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

Color values

HEX#2B6617
RGBrgb(43, 102, 23)
HSLhsl(105, 63%, 25%)
HSVhsv(105, 77%, 40%)
CMYKcmyk(57.8%, 0%, 77.5%, 60%)
CIE-LABlab(37.98, -34.68, 36.65)
CIE-LCHlch(37.98, 50.46, 133.42°)
OKLaboklab(45.39% -0.0955 0.0827)
OKLCHoklch(45.39% 0.126 139.1)
XYZxyz(5.9021, 10.0777, 2.4446)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6617 #521766
analogous
#536617 #2B6617 #17662B
triadic
#2B6617 #172B66 #66172B
tetradic
#2B6617 #175366 #521766 #662B17
square
#2B6617 #175366 #521766 #662B17
split-complementary
#2B6617 #2B1766 #661753
monochromatic
#0B1906 #16340C #2B6617 #409822 #55CA2E

Accessibility & contrast

On white

6.96
#2B6617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2B6617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6617
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6617#FFFFFF#000000##FFFFFF
##2B66171.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b6617;
/* rgb */ color: rgb(43, 102, 23);
/* oklch */ color: oklch(45.4% 0.126 139.1);
Tailwind
colors: {
  custom: {
    50: '#6c925a',
    500: '#2b6617',
    950: '#000000',
  },
}
SCSS
$custom: #2b6617;
$custom-light: #6c925a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6617",
  "rgb": {
    "r": 43,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 104.81,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45385,
    "c": 0.12633,
    "h": 139.1
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

primary
#2B6617
secondary
#843C9C
accent
#42E6BD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6617

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

Preview Lab → · Contrast checker → · Palette generator →

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