#2B501E#2B501E

#2B501E is a dark, moderate green. Relative luminance 0.063; OKLCH L 39.1% C 0.089 H 138.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2B501E
RGBrgb(43, 80, 30)
HSLhsl(104, 45%, 22%)
HSVhsv(104, 63%, 31%)
CMYKcmyk(46.2%, 0%, 62.5%, 68.6%)
CIE-LABlab(30.27, -24.08, 24.99)
CIE-LCHlch(30.27, 34.70, 133.93°)
OKLaboklab(39.07% -0.0662 0.059)
OKLCHoklch(39.07% 0.089 138.3)
XYZxyz(4.0991, 6.3444, 2.2366)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B501E #431E50
analogous
#44501E #2B501E #1E502A
triadic
#2B501E #1E2B50 #501E2B
tetradic
#2B501E #1E4450 #431E50 #502A1E
square
#2B501E #1E4450 #431E50 #502A1E
split-complementary
#2B501E #2A1E50 #501E44
monochromatic
#0C1608 #13230D #2B501E #437D2F #5BA93F

Accessibility & contrast

On white

9.26
#2B501E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2B501E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B501E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B501E#FFFFFF#000000##FFFFFF
##2B501E1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534919
Deuteranopia (green-blind)
#4D4622
Tritanopia (blue-blind)
#294D45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b501e;
/* rgb */ color: rgb(43, 80, 30);
/* oklch */ color: oklch(39.1% 0.089 138.3);
Tailwind
colors: {
  custom: {
    50: '#67815b',
    500: '#2b501e',
    950: '#000000',
  },
}
SCSS
$custom: #2b501e;
$custom-light: #67815b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b501e",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 104.4,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39068,
    "c": 0.08865,
    "h": 138.3
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#2B501E
secondary
#744585
accent
#53D5B3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2B501E

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

Preview Lab → · Contrast checker → · Palette generator →

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