#2B5918#2B5918

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

Color values

HEX#2B5918
RGBrgb(43, 89, 24)
HSLhsl(102, 58%, 22%)
HSVhsv(102, 73%, 35%)
CMYKcmyk(51.7%, 0%, 73%, 65.1%)
CIE-LABlab(33.40, -28.98, 31.49)
CIE-LCHlch(33.40, 42.80, 132.62°)
OKLaboklab(41.62% -0.08 0.0721)
OKLCHoklch(41.62% 0.108 138)
XYZxyz(4.7333, 7.7240, 2.1054)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5918 #461859
analogous
#4B5918 #2B5918 #185926
triadic
#2B5918 #182B59 #59182B
tetradic
#2B5918 #184B59 #461859 #592618
square
#2B5918 #184B59 #461859 #592618
split-complementary
#2B5918 #261859 #59184B
monochromatic
#0C1806 #14290B #2B5918 #428925 #5AB932

Accessibility & contrast

On white

8.25
#2B5918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B5918
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5918#FFFFFF#000000##FFFFFF
##2B59181.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510F
Deuteranopia (green-blind)
#564D1E
Tritanopia (blue-blind)
#28564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b5918;
/* rgb */ color: rgb(43, 89, 24);
/* oklch */ color: oklch(41.6% 0.108 138.0);
Tailwind
colors: {
  custom: {
    50: '#698859',
    500: '#2b5918',
    950: '#000000',
  },
}
SCSS
$custom: #2b5918;
$custom-light: #698859;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5918",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 102.462,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41618,
    "c": 0.10767,
    "h": 138
  },
  "luminance": 0.07724
}

Semantic roles & 50–950 ramp

primary
#2B5918
secondary
#783D90
accent
#47E1B4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2B5918

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

Preview Lab → · Contrast checker → · Palette generator →

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