#2B6826#2B6826

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

Color values

HEX#2B6826
RGBrgb(43, 104, 38)
HSLhsl(115, 46%, 28%)
HSVhsv(115, 63%, 41%)
CMYKcmyk(58.7%, 0%, 63.5%, 59.2%)
CIE-LABlab(38.82, -33.98, 30.69)
CIE-LCHlch(38.82, 45.79, 137.91°)
OKLaboklab(46.12% -0.0926 0.072)
OKLCHoklch(46.12% 0.117 142.1)
XYZxyz(6.2961, 10.5536, 3.5386)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6826 #632668
analogous
#4C6826 #2B6826 #266842
triadic
#2B6826 #262B68 #68262B
tetradic
#2B6826 #264C68 #632668 #684226
square
#2B6826 #264C68 #632668 #684226
split-complementary
#2B6826 #422668 #68264C
monochromatic
#091608 #183B16 #2B6826 #3E9536 #54BD4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B6826#FFFFFF#000000##FFFFFF
##2B68261.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)
#6A5F1F
Deuteranopia (green-blind)
#63592B
Tritanopia (blue-blind)
#22655A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b6826;
/* rgb */ color: rgb(43, 104, 38);
/* oklch */ color: oklch(46.1% 0.117 142.1);
Tailwind
colors: {
  custom: {
    50: '#6b9463',
    500: '#2b6826',
    950: '#000000',
  },
}
SCSS
$custom: #2b6826;
$custom-light: #6b9463;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6826",
  "rgb": {
    "r": 43,
    "g": 104,
    "b": 38
  },
  "hsl": {
    "h": 115.455,
    "s": 46.479,
    "l": 27.843
  },
  "oklch": {
    "l": 0.46119,
    "c": 0.11733,
    "h": 142.1
  },
  "luminance": 0.10554
}

Semantic roles & 50–950 ramp

primary
#2B6826
secondary
#954F9B
accent
#52D6CC
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #2B6826

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

Preview Lab → · Contrast checker → · Palette generator →

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