#2B6A12#2B6A12

#2B6A12 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.134 H 138.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2B6A12
RGBrgb(43, 106, 18)
HSLhsl(103, 71%, 24%)
HSVhsv(103, 83%, 42%)
CMYKcmyk(59.4%, 0%, 83%, 58.4%)
CIE-LABlab(39.35, -36.67, 39.83)
CIE-LCHlch(39.35, 54.14, 132.63°)
OKLaboklab(46.51% -0.1012 0.0886)
OKLCHoklch(46.51% 0.134 138.8)
XYZxyz(6.2592, 10.8648, 2.3394)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6A12 #51126A
analogous
#576A12 #2B6A12 #126A25
triadic
#2B6A12 #122B6A #6A122B
tetradic
#2B6A12 #12576A #51126A #6A2512
square
#2B6A12 #12576A #51126A #6A2512
split-complementary
#2B6A12 #25126A #6A1257
monochromatic
#0B1A04 #163609 #2B6A12 #409E1B #55D324

Accessibility & contrast

On white

6.62
#2B6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2B6A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6A12
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6A12#FFFFFF#000000##FFFFFF
##2B6A121.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#25665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b6a12;
/* rgb */ color: rgb(43, 106, 18);
/* oklch */ color: oklch(46.5% 0.134 138.8);
Tailwind
colors: {
  custom: {
    50: '#6d9558',
    500: '#2b6a12',
    950: '#000000',
  },
}
SCSS
$custom: #2b6a12;
$custom-light: #6d9558;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6a12",
  "rgb": {
    "r": 43,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 102.955,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46506,
    "c": 0.13447,
    "h": 138.8
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#2B6A12
secondary
#8336A2
accent
#3AEEBB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6A12

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

Preview Lab → · Contrast checker → · Palette generator →

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