#2B6028#2B6028

#2B6028 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.8% C 0.104 H 142.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2B6028
RGBrgb(43, 96, 40)
HSLhsl(117, 41%, 27%)
HSVhsv(117, 58%, 38%)
CMYKcmyk(55.2%, 0%, 58.3%, 62.4%)
CIE-LABlab(36.05, -30.22, 26.40)
CIE-LCHlch(36.05, 40.13, 138.86°)
OKLaboklab(43.85% -0.0823 0.0629)
OKLCHoklch(43.85% 0.104 142.6)
XYZxyz(5.5619, 9.0321, 3.4574)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6028 #5D2860
analogous
#476028 #2B6028 #286041
triadic
#2B6028 #282B60 #60282B
tetradic
#2B6028 #284760 #5D2860 #604128
square
#2B6028 #284760 #5D2860 #604128
split-complementary
#2B6028 #412860 #602847
monochromatic
#0A1609 #183516 #2B6028 #3E8B3A #53B54D

Accessibility & contrast

On white

7.48
#2B6028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2B6028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6028
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6028#FFFFFF#000000##FFFFFF
##2B60281.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625823
Deuteranopia (green-blind)
#5B532C
Tritanopia (blue-blind)
#245D53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b6028;
/* rgb */ color: rgb(43, 96, 40);
/* oklch */ color: oklch(43.8% 0.104 142.6);
Tailwind
colors: {
  custom: {
    50: '#6a8e63',
    500: '#2b6028',
    950: '#000000',
  },
}
SCSS
$custom: #2b6028;
$custom-light: #6a8e63;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6028",
  "rgb": {
    "r": 43,
    "g": 96,
    "b": 40
  },
  "hsl": {
    "h": 116.786,
    "s": 41.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.43847,
    "c": 0.10361,
    "h": 142.6
  },
  "luminance": 0.09033
}

Semantic roles & 50–950 ramp

primary
#2B6028
secondary
#8F5193
accent
#57D1CA
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #2B6028

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

Preview Lab → · Contrast checker → · Palette generator →

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