#2B6E17#2B6E17

#2B6E17 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.137 H 139.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2B6E17
RGBrgb(43, 110, 23)
HSLhsl(106, 65%, 26%)
HSVhsv(106, 79%, 43%)
CMYKcmyk(60.9%, 0%, 79.1%, 56.9%)
CIE-LABlab(40.78, -37.92, 39.43)
CIE-LCHlch(40.78, 54.70, 133.88°)
OKLaboklab(47.69% -0.1042 0.0885)
OKLCHoklch(47.69% 0.137 139.7)
XYZxyz(6.7266, 11.7267, 2.7195)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6E17 #5A176E
analogous
#566E17 #2B6E17 #176E2E
triadic
#2B6E17 #172B6E #6E172B
tetradic
#2B6E17 #17566E #5A176E #6E2E17
square
#2B6E17 #17566E #5A176E #6E2E17
split-complementary
#2B6E17 #2E176E #6E1756
monochromatic
#0A1905 #173B0C #2B6E17 #3FA122 #53D32C

Accessibility & contrast

On white

6.28
#2B6E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2B6E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6E17
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6E17#FFFFFF#000000##FFFFFF
##2B6E171.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716405
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#236A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b6e17;
/* rgb */ color: rgb(43, 110, 23);
/* oklch */ color: oklch(47.7% 0.137 139.7);
Tailwind
colors: {
  custom: {
    50: '#6d985b',
    500: '#2b6e17',
    950: '#000000',
  },
}
SCSS
$custom: #2b6e17;
$custom-light: #6d985b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6e17",
  "rgb": {
    "r": 43,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 106.207,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47693,
    "c": 0.13673,
    "h": 139.7
  },
  "luminance": 0.11727
}

Semantic roles & 50–950 ramp

primary
#2B6E17
secondary
#8C3DA4
accent
#3FE8C2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2B6E17

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

Preview Lab → · Contrast checker → · Palette generator →

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