#2B5E1A#2B5E1A

#2B5E1A is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.113 H 138.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2B5E1A
RGBrgb(43, 94, 26)
HSLhsl(105, 57%, 24%)
HSVhsv(105, 72%, 37%)
CMYKcmyk(54.3%, 0%, 72.3%, 63.1%)
CIE-LABlab(35.19, -31.01, 32.47)
CIE-LCHlch(35.19, 44.90, 133.68°)
OKLaboklab(43.09% -0.0854 0.0744)
OKLCHoklch(43.09% 0.113 138.9)
XYZxyz(5.1852, 8.5932, 2.3625)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5E1A #4D1A5E
analogous
#4D5E1A #2B5E1A #1A5E2B
triadic
#2B5E1A #1A2B5E #5E1A2B
tetradic
#2B5E1A #1A4D5E #4D1A5E #5E2B1A
square
#2B5E1A #1A4D5E #4D1A5E #5E2B1A
split-complementary
#2B5E1A #2B1A5E #5E1A4D
monochromatic
#0B1807 #152E0D #2B5E1A #418E27 #57BE35

Accessibility & contrast

On white

7.72
#2B5E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2B5E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5E1A
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5E1A#FFFFFF#000000##FFFFFF
##2B5E1A1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615510
Deuteranopia (green-blind)
#5A5120
Tritanopia (blue-blind)
#275B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5e1a;
/* rgb */ color: rgb(43, 94, 26);
/* oklch */ color: oklch(43.1% 0.113 138.9);
Tailwind
colors: {
  custom: {
    50: '#6a8c5a',
    500: '#2b5e1a',
    950: '#000000',
  },
}
SCSS
$custom: #2b5e1a;
$custom-light: #6a8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5e1a",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 26
  },
  "hsl": {
    "h": 105,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43093,
    "c": 0.11323,
    "h": 138.9
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#2B5E1A
secondary
#7F4094
accent
#48E0BA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B5E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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