#2B6027#2B6027

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

Color values

HEX#2B6027
RGBrgb(43, 96, 39)
HSLhsl(116, 42%, 26%)
HSVhsv(116, 59%, 38%)
CMYKcmyk(55.2%, 0%, 59.4%, 62.4%)
CIE-LABlab(36.03, -30.36, 26.92)
CIE-LCHlch(36.03, 40.58, 138.43°)
OKLaboklab(43.83% -0.0827 0.064)
OKLCHoklch(43.83% 0.105 142.3)
XYZxyz(5.5451, 9.0254, 3.3689)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6027 #5C2760
analogous
#486027 #2B6027 #276040
triadic
#2B6027 #272B60 #60272B
tetradic
#2B6027 #274860 #5C2760 #604027
square
#2B6027 #274860 #5C2760 #604027
split-complementary
#2B6027 #402760 #602748
monochromatic
#0A1609 #183415 #2B6027 #3E8C39 #53B64B

Accessibility & contrast

On white

7.49
#2B6027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B6027
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6027#FFFFFF#000000##FFFFFF
##2B60271.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b6027;
/* rgb */ color: rgb(43, 96, 39);
/* oklch */ color: oklch(43.8% 0.105 142.3);
Tailwind
colors: {
  custom: {
    50: '#6a8e63',
    500: '#2b6027',
    950: '#000000',
  },
}
SCSS
$custom: #2b6027;
$custom-light: #6a8e63;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6027",
  "rgb": {
    "r": 43,
    "g": 96,
    "b": 39
  },
  "hsl": {
    "h": 115.789,
    "s": 42.222,
    "l": 26.471
  },
  "oklch": {
    "l": 0.43832,
    "c": 0.10459,
    "h": 142.3
  },
  "luminance": 0.09026
}

Semantic roles & 50–950 ramp

primary
#2B6027
secondary
#8E5093
accent
#56D2C9
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2B6027

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

Preview Lab → · Contrast checker → · Palette generator →

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