#2B5921#2B5921

#2B5921 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.100 H 140.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2B5921
RGBrgb(43, 89, 33)
HSLhsl(109, 46%, 24%)
HSVhsv(109, 63%, 35%)
CMYKcmyk(51.7%, 0%, 62.9%, 65.1%)
CIE-LABlab(33.49, -27.97, 27.14)
CIE-LCHlch(33.49, 38.97, 135.87°)
OKLaboklab(41.73% -0.0766 0.0639)
OKLCHoklch(41.73% 0.1 140.2)
XYZxyz(4.8430, 7.7678, 2.6827)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5921 #4F2159
analogous
#475921 #2B5921 #215933
triadic
#2B5921 #212B59 #59212B
tetradic
#2B5921 #214759 #4F2159 #593321
square
#2B5921 #214759 #4F2159 #593321
split-complementary
#2B5921 #332159 #592147
monochromatic
#0B1608 #152C10 #2B5921 #418632 #56B242

Accessibility & contrast

On white

8.22
#2B5921 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2B5921 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5921
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5921#FFFFFF#000000##FFFFFF
##2B59211.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511B
Deuteranopia (green-blind)
#554D25
Tritanopia (blue-blind)
#27564D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b5921;
/* rgb */ color: rgb(43, 89, 33);
/* oklch */ color: oklch(41.7% 0.100 140.2);
Tailwind
colors: {
  custom: {
    50: '#69885e',
    500: '#2b5921',
    950: '#000000',
  },
}
SCSS
$custom: #2b5921;
$custom-light: #69885e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5921",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 33
  },
  "hsl": {
    "h": 109.286,
    "s": 45.902,
    "l": 23.922
  },
  "oklch": {
    "l": 0.41725,
    "c": 0.09976,
    "h": 140.2
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#2B5921
secondary
#81498D
accent
#52D6BE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2B5921

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

Preview Lab → · Contrast checker → · Palette generator →

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