#2B6417#2B6417

#2B6417 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.8% C 0.124 H 138.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2B6417
RGBrgb(43, 100, 23)
HSLhsl(104, 63%, 24%)
HSVhsv(104, 77%, 39%)
CMYKcmyk(57%, 0%, 77%, 60.8%)
CIE-LABlab(37.28, -33.85, 35.94)
CIE-LCHlch(37.28, 49.37, 133.28°)
OKLaboklab(44.81% -0.0932 0.0812)
OKLCHoklch(44.81% 0.124 138.9)
XYZxyz(5.7079, 9.6893, 2.3799)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6417 #501764
analogous
#526417 #2B6417 #17642A
triadic
#2B6417 #172B64 #64172B
tetradic
#2B6417 #175264 #501764 #642A17
square
#2B6417 #175264 #501764 #642A17
split-complementary
#2B6417 #2A1764 #641752
monochromatic
#0B1906 #16320C #2B6417 #409622 #56C82E

Accessibility & contrast

On white

7.15
#2B6417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2B6417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6417
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6417#FFFFFF#000000##FFFFFF
##2B64171.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B09
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#266055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b6417;
/* rgb */ color: rgb(43, 100, 23);
/* oklch */ color: oklch(44.8% 0.124 138.9);
Tailwind
colors: {
  custom: {
    50: '#6b915a',
    500: '#2b6417',
    950: '#000000',
  },
}
SCSS
$custom: #2b6417;
$custom-light: #6b915a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6417",
  "rgb": {
    "r": 43,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 104.416,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44806,
    "c": 0.12366,
    "h": 138.9
  },
  "luminance": 0.0969
}

Semantic roles & 50–950 ramp

primary
#2B6417
secondary
#823C9A
accent
#42E6BB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2B6417

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

Preview Lab → · Contrast checker → · Palette generator →

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