#2B6728#2B6728

#2B6728 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.9% C 0.114 H 142.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2B6728
RGBrgb(43, 103, 40)
HSLhsl(117, 44%, 28%)
HSVhsv(117, 61%, 40%)
CMYKcmyk(58.3%, 0%, 61.2%, 59.6%)
CIE-LABlab(38.49, -33.29, 29.29)
CIE-LCHlch(38.49, 44.34, 138.66°)
OKLaboklab(45.86% -0.0906 0.0692)
OKLCHoklch(45.86% 0.114 142.6)
XYZxyz(6.2292, 10.3668, 3.6798)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6728 #642867
analogous
#4A6728 #2B6728 #286744
triadic
#2B6728 #282B67 #67282B
tetradic
#2B6728 #284A67 #642867 #674428
square
#2B6728 #284A67 #642867 #674428
split-complementary
#2B6728 #442867 #67284A
monochromatic
#091609 #193B17 #2B6728 #3D9339 #54BB4F

Accessibility & contrast

On white

6.83
#2B6728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2B6728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6728
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6728#FFFFFF#000000##FFFFFF
##2B67281.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E22
Deuteranopia (green-blind)
#61592D
Tritanopia (blue-blind)
#226459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b6728;
/* rgb */ color: rgb(43, 103, 40);
/* oklch */ color: oklch(45.9% 0.114 142.6);
Tailwind
colors: {
  custom: {
    50: '#6b9364',
    500: '#2b6728',
    950: '#000000',
  },
}
SCSS
$custom: #2b6728;
$custom-light: #6b9364;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6728",
  "rgb": {
    "r": 43,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 117.143,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.45858,
    "c": 0.11405,
    "h": 142.6
  },
  "luminance": 0.10367
}

Semantic roles & 50–950 ramp

primary
#2B6728
secondary
#96519A
accent
#54D4CE
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #2B6728

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

Preview Lab → · Contrast checker → · Palette generator →

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