#2B6917#2B6917

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

Color values

HEX#2B6917
RGBrgb(43, 105, 23)
HSLhsl(105, 64%, 25%)
HSVhsv(105, 78%, 41%)
CMYKcmyk(59%, 0%, 78.1%, 58.8%)
CIE-LABlab(39.03, -35.91, 37.70)
CIE-LCHlch(39.03, 52.07, 133.61°)
OKLaboklab(46.25% -0.0988 0.0849)
OKLCHoklch(46.25% 0.13 139.3)
XYZxyz(6.2022, 10.6781, 2.5447)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6917 #551769
analogous
#546917 #2B6917 #17692C
triadic
#2B6917 #172B69 #69172B
tetradic
#2B6917 #175469 #551769 #692C17
square
#2B6917 #175469 #551769 #692C17
split-complementary
#2B6917 #2C1769 #691754
monochromatic
#0A1905 #16370C #2B6917 #409B22 #54CD2D

Accessibility & contrast

On white

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

On black

3.14
#2B6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B6917#FFFFFF#000000##FFFFFF
##2B69171.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#645A20
Tritanopia (blue-blind)
#246559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b6917;
/* rgb */ color: rgb(43, 105, 23);
/* oklch */ color: oklch(46.3% 0.130 139.3);
Tailwind
colors: {
  custom: {
    50: '#6c945a',
    500: '#2b6917',
    950: '#000000',
  },
}
SCSS
$custom: #2b6917;
$custom-light: #6c945a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6917",
  "rgb": {
    "r": 43,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 105.366,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46252,
    "c": 0.13028,
    "h": 139.3
  },
  "luminance": 0.10679
}

Semantic roles & 50–950 ramp

primary
#2B6917
secondary
#873D9F
accent
#41E7BE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6917

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

Preview Lab → · Contrast checker → · Palette generator →

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