#2B5E22#2B5E22

#2B5E22 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.2% C 0.106 H 140.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2B5E22
RGBrgb(43, 94, 34)
HSLhsl(111, 47%, 25%)
HSVhsv(111, 64%, 37%)
CMYKcmyk(54.3%, 0%, 63.8%, 63.1%)
CIE-LABlab(35.27, -30.12, 28.66)
CIE-LCHlch(35.27, 41.58, 136.42°)
OKLaboklab(43.19% -0.0824 0.0673)
OKLCHoklch(43.19% 0.106 140.8)
XYZxyz(5.2875, 8.6341, 2.9010)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5E22 #55225E
analogous
#495E22 #2B5E22 #225E37
triadic
#2B5E22 #222B5E #5E222B
tetradic
#2B5E22 #22495E #55225E #5E3722
square
#2B5E22 #22495E #55225E #5E3722
split-complementary
#2B5E22 #37225E #5E2249
monochromatic
#0A1608 #163112 #2B5E22 #408B32 #54B843

Accessibility & contrast

On white

7.70
#2B5E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2B5E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5E22
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5E22#FFFFFF#000000##FFFFFF
##2B5E221.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60561C
Deuteranopia (green-blind)
#5A5127
Tritanopia (blue-blind)
#255B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5e22;
/* rgb */ color: rgb(43, 94, 34);
/* oklch */ color: oklch(43.2% 0.106 140.8);
Tailwind
colors: {
  custom: {
    50: '#698c5f',
    500: '#2b5e22',
    950: '#000000',
  },
}
SCSS
$custom: #2b5e22;
$custom-light: #698c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5e22",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 34
  },
  "hsl": {
    "h": 111,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.43186,
    "c": 0.10636,
    "h": 140.8
  },
  "luminance": 0.08634
}

Semantic roles & 50–950 ramp

primary
#2B5E22
secondary
#874A92
accent
#51D7C3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2B5E22

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

Preview Lab → · Contrast checker → · Palette generator →

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