#2B6018#2B6018

#2B6018 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.7% C 0.118 H 138.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2B6018
RGBrgb(43, 96, 24)
HSLhsl(104, 60%, 24%)
HSVhsv(104, 75%, 38%)
CMYKcmyk(55.2%, 0%, 75%, 62.4%)
CIE-LABlab(35.88, -32.07, 34.09)
CIE-LCHlch(35.88, 46.80, 133.25°)
OKLaboklab(43.65% -0.0884 0.0775)
OKLCHoklch(43.65% 0.118 138.7)
XYZxyz(5.3438, 8.9449, 2.3089)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6018 #4D1860
analogous
#4F6018 #2B6018 #186029
triadic
#2B6018 #182B60 #60182B
tetradic
#2B6018 #184F60 #4D1860 #602918
square
#2B6018 #184F60 #4D1860 #602918
split-complementary
#2B6018 #291860 #60184F
monochromatic
#0B1806 #152F0C #2B6018 #419124 #57C230

Accessibility & contrast

On white

7.53
#2B6018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2B6018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6018
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6018#FFFFFF#000000##FFFFFF
##2B60181.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570D
Deuteranopia (green-blind)
#5C531F
Tritanopia (blue-blind)
#265D52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b6018;
/* rgb */ color: rgb(43, 96, 24);
/* oklch */ color: oklch(43.7% 0.118 138.7);
Tailwind
colors: {
  custom: {
    50: '#6a8e5a',
    500: '#2b6018',
    950: '#000000',
  },
}
SCSS
$custom: #2b6018;
$custom-light: #6a8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6018",
  "rgb": {
    "r": 43,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 104.167,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43654,
    "c": 0.11753,
    "h": 138.7
  },
  "luminance": 0.08945
}

Semantic roles & 50–950 ramp

primary
#2B6018
secondary
#7F3D96
accent
#45E3B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B6018

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

Preview Lab → · Contrast checker → · Palette generator →

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