#2B5916#2B5916

#2B5916 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.109 H 137.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2B5916
RGBrgb(43, 89, 22)
HSLhsl(101, 60%, 22%)
HSVhsv(101, 75%, 35%)
CMYKcmyk(51.7%, 0%, 75.3%, 65.1%)
CIE-LABlab(33.38, -29.17, 32.38)
CIE-LCHlch(33.38, 43.58, 132.02°)
OKLaboklab(41.6% -0.0807 0.0736)
OKLCHoklch(41.6% 0.109 137.6)
XYZxyz(4.7133, 7.7160, 1.9999)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5916 #441659
analogous
#4D5916 #2B5916 #165923
triadic
#2B5916 #162B59 #59162B
tetradic
#2B5916 #164D59 #441659 #592316
square
#2B5916 #164D59 #441659 #592316
split-complementary
#2B5916 #231659 #59164D
monochromatic
#0C1906 #13280A #2B5916 #438A22 #5ABB2E

Accessibility & contrast

On white

8.26
#2B5916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2B5916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5916
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5916#FFFFFF#000000##FFFFFF
##2B59161.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510C
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#28564C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b5916;
/* rgb */ color: rgb(43, 89, 22);
/* oklch */ color: oklch(41.6% 0.109 137.6);
Tailwind
colors: {
  custom: {
    50: '#698858',
    500: '#2b5916',
    950: '#000000',
  },
}
SCSS
$custom: #2b5916;
$custom-light: #698858;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5916",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 22
  },
  "hsl": {
    "h": 101.194,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41598,
    "c": 0.10921,
    "h": 137.6
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#2B5916
secondary
#753B90
accent
#44E4B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5916

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

Preview Lab → · Contrast checker → · Palette generator →

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