#2B6F12#2B6F12

#2B6F12 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.141 H 139.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#2B6F12
RGBrgb(43, 111, 18)
HSLhsl(104, 72%, 25%)
HSVhsv(104, 84%, 44%)
CMYKcmyk(61.3%, 0%, 83.8%, 56.5%)
CIE-LABlab(41.10, -38.65, 41.48)
CIE-LCHlch(41.10, 56.69, 132.98°)
OKLaboklab(47.95% -0.1065 0.092)
OKLCHoklch(47.95% 0.141 139.2)
XYZxyz(6.7896, 11.9255, 2.5162)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6F12 #56126F
analogous
#596F12 #2B6F12 #126F27
triadic
#2B6F12 #122B6F #6F122B
tetradic
#2B6F12 #12596F #56126F #6F2712
square
#2B6F12 #12596F #56126F #6F2712
split-complementary
#2B6F12 #27126F #6F1259
monochromatic
#0A1A04 #173A09 #2B6F12 #3FA41B #54D823

Accessibility & contrast

On white

6.20
#2B6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2B6F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6F12
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6F12#FFFFFF#000000##FFFFFF
##2B6F121.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5F1D
Tritanopia (blue-blind)
#236B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b6f12;
/* rgb */ color: rgb(43, 111, 18);
/* oklch */ color: oklch(47.9% 0.141 139.2);
Tailwind
colors: {
  custom: {
    50: '#6e9959',
    500: '#2b6f12',
    950: '#000000',
  },
}
SCSS
$custom: #2b6f12;
$custom-light: #6e9959;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6f12",
  "rgb": {
    "r": 43,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 103.871,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47948,
    "c": 0.14073,
    "h": 139.2
  },
  "luminance": 0.11926
}

Semantic roles & 50–950 ramp

primary
#2B6F12
secondary
#8837A6
accent
#39EFBE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2B6F12

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

Preview Lab → · Contrast checker → · Palette generator →

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