#2B6015#2B6015

#2B6015 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.6% C 0.120 H 138.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2B6015
RGBrgb(43, 96, 21)
HSLhsl(102, 64%, 23%)
HSVhsv(102, 78%, 38%)
CMYKcmyk(55.2%, 0%, 78.1%, 62.4%)
CIE-LABlab(35.86, -32.32, 35.32)
CIE-LCHlch(35.86, 47.88, 132.46°)
OKLaboklab(43.63% -0.0893 0.0796)
OKLCHoklch(43.63% 0.12 138.3)
XYZxyz(5.3143, 8.9331, 2.1535)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6015 #4A1560
analogous
#506015 #2B6015 #156024
triadic
#2B6015 #152B60 #60152B
tetradic
#2B6015 #155060 #4A1560 #602415
square
#2B6015 #155060 #4A1560 #602415
split-complementary
#2B6015 #241560 #601550
monochromatic
#0B1905 #152E0A #2B6015 #419220 #58C42B

Accessibility & contrast

On white

7.54
#2B6015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B6015
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6015#FFFFFF#000000##FFFFFF
##2B60151.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635707
Deuteranopia (green-blind)
#5C531D
Tritanopia (blue-blind)
#275C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b6015;
/* rgb */ color: rgb(43, 96, 21);
/* oklch */ color: oklch(43.6% 0.120 138.3);
Tailwind
colors: {
  custom: {
    50: '#6b8e58',
    500: '#2b6015',
    950: '#000000',
  },
}
SCSS
$custom: #2b6015;
$custom-light: #6b8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6015",
  "rgb": {
    "r": 43,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 102.4,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43628,
    "c": 0.1196,
    "h": 138.3
  },
  "luminance": 0.08933
}

Semantic roles & 50–950 ramp

primary
#2B6015
secondary
#7C3A97
accent
#41E7B6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B6015

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

Preview Lab → · Contrast checker → · Palette generator →

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