#2B6828#2B6828

#2B6828 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.1% C 0.116 H 142.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2B6828
RGBrgb(43, 104, 40)
HSLhsl(117, 44%, 28%)
HSVhsv(117, 62%, 41%)
CMYKcmyk(58.7%, 0%, 61.5%, 59.2%)
CIE-LABlab(38.84, -33.72, 29.70)
CIE-LCHlch(38.84, 44.93, 138.63°)
OKLaboklab(46.15% -0.0918 0.0701)
OKLCHoklch(46.15% 0.116 142.6)
XYZxyz(6.3293, 10.5669, 3.7132)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6828 #652868
analogous
#4B6828 #2B6828 #286845
triadic
#2B6828 #282B68 #68282B
tetradic
#2B6828 #284B68 #652868 #684528
square
#2B6828 #284B68 #652868 #684528
split-complementary
#2B6828 #452868 #68284B
monochromatic
#091609 #193C17 #2B6828 #3D9439 #54BB4F

Accessibility & contrast

On white

6.75
#2B6828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2B6828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6828
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6828#FFFFFF#000000##FFFFFF
##2B68281.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F21
Deuteranopia (green-blind)
#62592D
Tritanopia (blue-blind)
#22655A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b6828;
/* rgb */ color: rgb(43, 104, 40);
/* oklch */ color: oklch(46.1% 0.116 142.6);
Tailwind
colors: {
  custom: {
    50: '#6b9464',
    500: '#2b6828',
    950: '#000000',
  },
}
SCSS
$custom: #2b6828;
$custom-light: #6b9464;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6828",
  "rgb": {
    "r": 43,
    "g": 104,
    "b": 40
  },
  "hsl": {
    "h": 117.188,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.46145,
    "c": 0.1155,
    "h": 142.6
  },
  "luminance": 0.10567
}

Semantic roles & 50–950 ramp

primary
#2B6828
secondary
#97519B
accent
#54D4CE
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #2B6828

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

Preview Lab → · Contrast checker → · Palette generator →

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