#2B6F17#2B6F17

#2B6F17 is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.138 H 139.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#2B6F17
RGBrgb(43, 111, 23)
HSLhsl(106, 66%, 26%)
HSVhsv(106, 79%, 44%)
CMYKcmyk(61.3%, 0%, 79.3%, 56.5%)
CIE-LABlab(41.13, -38.31, 39.77)
CIE-LCHlch(41.13, 55.22, 133.93°)
OKLaboklab(47.98% -0.1053 0.0892)
OKLCHoklch(47.98% 0.138 139.7)
XYZxyz(6.8351, 11.9437, 2.7556)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6F17 #5B176F
analogous
#576F17 #2B6F17 #176F2F
triadic
#2B6F17 #172B6F #6F172B
tetradic
#2B6F17 #17576F #5B176F #6F2F17
square
#2B6F17 #17576F #5B176F #6F2F17
split-complementary
#2B6F17 #2F176F #6F1757
monochromatic
#0A1905 #173C0C #2B6F17 #3FA222 #53D32D

Accessibility & contrast

On white

6.20
#2B6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2B6F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6F17
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6F17#FFFFFF#000000##FFFFFF
##2B6F171.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#236B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b6f17;
/* rgb */ color: rgb(43, 111, 23);
/* oklch */ color: oklch(48.0% 0.138 139.7);
Tailwind
colors: {
  custom: {
    50: '#6d995b',
    500: '#2b6f17',
    950: '#000000',
  },
}
SCSS
$custom: #2b6f17;
$custom-light: #6d995b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6f17",
  "rgb": {
    "r": 43,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 106.364,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47981,
    "c": 0.138,
    "h": 139.7
  },
  "luminance": 0.11944
}

Semantic roles & 50–950 ramp

primary
#2B6F17
secondary
#8D3DA5
accent
#3FE9C2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2B6F17

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

Preview Lab → · Contrast checker → · Palette generator →

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