#2B4E22#2B4E22

#2B4E22 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.5% C 0.081 H 139.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2B4E22
RGBrgb(43, 78, 34)
HSLhsl(108, 39%, 22%)
HSVhsv(108, 56%, 31%)
CMYKcmyk(44.9%, 0%, 56.4%, 69.4%)
CIE-LABlab(29.61, -22.53, 21.98)
CIE-LCHlch(29.61, 31.48, 135.71°)
OKLaboklab(38.55% -0.0617 0.0527)
OKLCHoklch(38.55% 0.081 139.5)
XYZxyz(4.0092, 6.0776, 2.4749)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E22 #45224E
analogous
#414E22 #2B4E22 #224E2F
triadic
#2B4E22 #222B4E #4E222B
tetradic
#2B4E22 #22414E #45224E #4E2F22
square
#2B4E22 #22414E #45224E #4E2F22
split-complementary
#2B4E22 #2F224E #4E2241
monochromatic
#0C1509 #14230F #2B4E22 #427935 #5AA347

Accessibility & contrast

On white

9.48
#2B4E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B4E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E22
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E22#FFFFFF#000000##FFFFFF
##2B4E221.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50481E
Deuteranopia (green-blind)
#4B4525
Tritanopia (blue-blind)
#284C44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4e22;
/* rgb */ color: rgb(43, 78, 34);
/* oklch */ color: oklch(38.5% 0.081 139.5);
Tailwind
colors: {
  custom: {
    50: '#67805e',
    500: '#2b4e22',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e22;
$custom-light: #67805e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e22",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 34
  },
  "hsl": {
    "h": 107.727,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.38548,
    "c": 0.08118,
    "h": 139.5
  },
  "luminance": 0.06078
}

Semantic roles & 50–950 ramp

primary
#2B4E22
secondary
#764A82
accent
#59CFB7
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2B4E22

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

Preview Lab → · Contrast checker → · Palette generator →

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