#2B6311#2B6311

#2B6311 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.5% C 0.126 H 138.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2B6311
RGBrgb(43, 99, 17)
HSLhsl(101, 71%, 23%)
HSVhsv(101, 83%, 39%)
CMYKcmyk(56.6%, 0%, 82.8%, 61.2%)
CIE-LABlab(36.89, -33.88, 37.84)
CIE-LCHlch(36.89, 50.79, 131.84°)
OKLaboklab(44.47% -0.0937 0.0842)
OKLCHoklch(44.47% 0.126 138.1)
XYZxyz(5.5591, 9.4773, 2.0666)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6311 #491163
analogous
#546311 #2B6311 #116320
triadic
#2B6311 #112B63 #63112B
tetradic
#2B6311 #115463 #491163 #632011
square
#2B6311 #115463 #491163 #632011
split-complementary
#2B6311 #201163 #631154
monochromatic
#0B1A04 #142F08 #2B6311 #42971A #58CB23

Accessibility & contrast

On white

7.25
#2B6311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2B6311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6311
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6311#FFFFFF#000000##FFFFFF
##2B63111.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A00
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#265F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b6311;
/* rgb */ color: rgb(43, 99, 17);
/* oklch */ color: oklch(44.5% 0.126 138.1);
Tailwind
colors: {
  custom: {
    50: '#6b9057',
    500: '#2b6311',
    950: '#000000',
  },
}
SCSS
$custom: #2b6311;
$custom-light: #6b9057;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6311",
  "rgb": {
    "r": 43,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 100.976,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44471,
    "c": 0.12602,
    "h": 138.1
  },
  "luminance": 0.09478
}

Semantic roles & 50–950 ramp

primary
#2B6311
secondary
#7B349B
accent
#3AEDB5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B6311

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

Preview Lab → · Contrast checker → · Palette generator →

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