#2B6312#2B6312

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

Color values

HEX#2B6312
RGBrgb(43, 99, 18)
HSLhsl(101, 69%, 23%)
HSVhsv(101, 82%, 39%)
CMYKcmyk(56.6%, 0%, 81.8%, 61.2%)
CIE-LABlab(36.89, -33.81, 37.49)
CIE-LCHlch(36.89, 50.48, 132.05°)
OKLaboklab(44.48% -0.0935 0.0837)
OKLCHoklch(44.48% 0.125 138.2)
XYZxyz(5.5671, 9.4805, 2.1087)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6312 #4A1263
analogous
#546312 #2B6312 #126321
triadic
#2B6312 #122B63 #63122B
tetradic
#2B6312 #125463 #4A1263 #632112
square
#2B6312 #125463 #4A1263 #632112
split-complementary
#2B6312 #211263 #631254
monochromatic
#0B1A05 #152F09 #2B6312 #41971B #58CB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B6312#FFFFFF#000000##FFFFFF
##2B63121.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)
#665A01
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#265F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b6312;
/* rgb */ color: rgb(43, 99, 18);
/* oklch */ color: oklch(44.5% 0.125 138.2);
Tailwind
colors: {
  custom: {
    50: '#6b9057',
    500: '#2b6312',
    950: '#000000',
  },
}
SCSS
$custom: #2b6312;
$custom-light: #6b9057;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6312",
  "rgb": {
    "r": 43,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 101.481,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44477,
    "c": 0.12546,
    "h": 138.2
  },
  "luminance": 0.09481
}

Semantic roles & 50–950 ramp

primary
#2B6312
secondary
#7C369B
accent
#3CECB6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B6312

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

Preview Lab → · Contrast checker → · Palette generator →

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