#2B6117#2B6117

#2B6117 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.9% C 0.120 H 138.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2B6117
RGBrgb(43, 97, 23)
HSLhsl(104, 62%, 24%)
HSVhsv(104, 76%, 38%)
CMYKcmyk(55.7%, 0%, 76.3%, 62%)
CIE-LABlab(36.22, -32.58, 34.87)
CIE-LCHlch(36.22, 47.72, 133.06°)
OKLaboklab(43.94% -0.0898 0.079)
OKLCHoklch(43.94% 0.12 138.7)
XYZxyz(5.4254, 9.1244, 2.2857)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6117 #4D1761
analogous
#506117 #2B6117 #176128
triadic
#2B6117 #172B61 #61172B
tetradic
#2B6117 #175061 #4D1761 #612817
square
#2B6117 #175061 #4D1761 #612817
split-complementary
#2B6117 #281761 #611750
monochromatic
#0B1906 #15300B #2B6117 #419223 #57C42E

Accessibility & contrast

On white

7.43
#2B6117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2B6117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6117
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6117#FFFFFF#000000##FFFFFF
##2B61171.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580A
Deuteranopia (green-blind)
#5D531E
Tritanopia (blue-blind)
#265D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b6117;
/* rgb */ color: rgb(43, 97, 23);
/* oklch */ color: oklch(43.9% 0.120 138.7);
Tailwind
colors: {
  custom: {
    50: '#6b8e59',
    500: '#2b6117',
    950: '#000000',
  },
}
SCSS
$custom: #2b6117;
$custom-light: #6b8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6117",
  "rgb": {
    "r": 43,
    "g": 97,
    "b": 23
  },
  "hsl": {
    "h": 103.784,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43936,
    "c": 0.11961,
    "h": 138.7
  },
  "luminance": 0.09125
}

Semantic roles & 50–950 ramp

primary
#2B6117
secondary
#7F3C98
accent
#43E5B9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B6117

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

Preview Lab → · Contrast checker → · Palette generator →

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