#2B5618#2B5618

#2B5618 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.7% C 0.103 H 137.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2B5618
RGBrgb(43, 86, 24)
HSLhsl(102, 56%, 22%)
HSVhsv(102, 72%, 34%)
CMYKcmyk(50%, 0%, 72.1%, 66.3%)
CIE-LABlab(32.34, -27.61, 30.36)
CIE-LCHlch(32.34, 41.04, 132.29°)
OKLaboklab(40.74% -0.0763 0.0697)
OKLCHoklch(40.74% 0.103 137.6)
XYZxyz(4.4888, 7.2348, 2.0239)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5618 #431856
analogous
#4A5618 #2B5618 #185624
triadic
#2B5618 #182B56 #56182B
tetradic
#2B5618 #184A56 #431856 #562418
square
#2B5618 #184A56 #431856 #562418
split-complementary
#2B5618 #241856 #56184A
monochromatic
#0C1807 #13260B #2B5618 #438625 #5BB633

Accessibility & contrast

On white

8.58
#2B5618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2B5618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5618
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5618#FFFFFF#000000##FFFFFF
##2B56181.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E10
Deuteranopia (green-blind)
#534B1D
Tritanopia (blue-blind)
#285349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b5618;
/* rgb */ color: rgb(43, 86, 24);
/* oklch */ color: oklch(40.7% 0.103 137.6);
Tailwind
colors: {
  custom: {
    50: '#698658',
    500: '#2b5618',
    950: '#000000',
  },
}
SCSS
$custom: #2b5618;
$custom-light: #698658;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5618",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 24
  },
  "hsl": {
    "h": 101.613,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40743,
    "c": 0.10332,
    "h": 137.6
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#2B5618
secondary
#743D8D
accent
#48E0B1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2B5618

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

Preview Lab → · Contrast checker → · Palette generator →

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