#2B6317#2B6317

#2B6317 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.5% C 0.122 H 138.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2B6317
RGBrgb(43, 99, 23)
HSLhsl(104, 62%, 24%)
HSVhsv(104, 77%, 39%)
CMYKcmyk(56.6%, 0%, 76.8%, 61.2%)
CIE-LABlab(36.93, -33.43, 35.58)
CIE-LCHlch(36.93, 48.82, 133.21°)
OKLaboklab(44.52% -0.0921 0.0805)
OKLCHoklch(44.52% 0.122 138.9)
XYZxyz(5.6125, 9.4987, 2.3481)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6317 #4F1763
analogous
#516317 #2B6317 #176329
triadic
#2B6317 #172B63 #63172B
tetradic
#2B6317 #175163 #4F1763 #632917
square
#2B6317 #175163 #4F1763 #632917
split-complementary
#2B6317 #291763 #631751
monochromatic
#0B1906 #15310B #2B6317 #419523 #56C62E

Accessibility & contrast

On white

7.24
#2B6317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2B6317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6317
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6317#FFFFFF#000000##FFFFFF
##2B63171.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0A
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#265F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b6317;
/* rgb */ color: rgb(43, 99, 23);
/* oklch */ color: oklch(44.5% 0.122 138.9);
Tailwind
colors: {
  custom: {
    50: '#6b9059',
    500: '#2b6317',
    950: '#000000',
  },
}
SCSS
$custom: #2b6317;
$custom-light: #6b9059;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6317",
  "rgb": {
    "r": 43,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 104.211,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44516,
    "c": 0.12232,
    "h": 138.9
  },
  "luminance": 0.09499
}

Semantic roles & 50–950 ramp

primary
#2B6317
secondary
#813C9A
accent
#42E5BA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B6317

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

Preview Lab → · Contrast checker → · Palette generator →

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