#2B5418#2B5418

#2B5418 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.2% C 0.100 H 137.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2B5418
RGBrgb(43, 84, 24)
HSLhsl(101, 56%, 21%)
HSVhsv(101, 71%, 33%)
CMYKcmyk(48.8%, 0%, 71.4%, 67.1%)
CIE-LABlab(31.62, -26.68, 29.59)
CIE-LCHlch(31.62, 39.85, 132.04°)
OKLaboklab(40.16% -0.0738 0.0681)
OKLCHoklch(40.16% 0.1 137.3)
XYZxyz(4.3313, 6.9199, 1.9714)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5418 #411854
analogous
#495418 #2B5418 #185423
triadic
#2B5418 #182B54 #54182B
tetradic
#2B5418 #184954 #411854 #542318
square
#2B5418 #184954 #411854 #542318
split-complementary
#2B5418 #231854 #541849
monochromatic
#0C1807 #13240A #2B5418 #438426 #5CB333

Accessibility & contrast

On white

8.81
#2B5418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B5418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5418
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5418#FFFFFF#000000##FFFFFF
##2B54181.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D10
Deuteranopia (green-blind)
#51491D
Tritanopia (blue-blind)
#295148
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b5418;
/* rgb */ color: rgb(43, 84, 24);
/* oklch */ color: oklch(40.2% 0.100 137.3);
Tailwind
colors: {
  custom: {
    50: '#688458',
    500: '#2b5418',
    950: '#000000',
  },
}
SCSS
$custom: #2b5418;
$custom-light: #688458;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5418",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 24
  },
  "hsl": {
    "h": 101,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40159,
    "c": 0.10037,
    "h": 137.3
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

primary
#2B5418
secondary
#723D8B
accent
#49DFAF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2B5418

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

Preview Lab → · Contrast checker → · Palette generator →

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