#2B6813#2B6813

#2B6813 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.131 H 138.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2B6813
RGBrgb(43, 104, 19)
HSLhsl(103, 69%, 24%)
HSVhsv(103, 82%, 41%)
CMYKcmyk(58.7%, 0%, 81.7%, 59.2%)
CIE-LABlab(38.66, -35.80, 38.83)
CIE-LCHlch(38.66, 52.81, 132.68°)
OKLaboklab(45.93% -0.0988 0.0866)
OKLCHoklch(45.93% 0.131 138.7)
XYZxyz(6.0639, 10.4607, 2.3155)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6813 #501368
analogous
#566813 #2B6813 #136826
triadic
#2B6813 #132B68 #68132B
tetradic
#2B6813 #135668 #501368 #682613
square
#2B6813 #135668 #501368 #682613
split-complementary
#2B6813 #261368 #681356
monochromatic
#0B1A05 #16340A #2B6813 #409C1C #56CF26

Accessibility & contrast

On white

6.79
#2B6813 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2B6813 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6813
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6813#FFFFFF#000000##FFFFFF
##2B68131.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#64591D
Tritanopia (blue-blind)
#256458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b6813;
/* rgb */ color: rgb(43, 104, 19);
/* oklch */ color: oklch(45.9% 0.131 138.7);
Tailwind
colors: {
  custom: {
    50: '#6c9458',
    500: '#2b6813',
    950: '#000000',
  },
}
SCSS
$custom: #2b6813;
$custom-light: #6c9458;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6813",
  "rgb": {
    "r": 43,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 103.059,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45934,
    "c": 0.13137,
    "h": 138.7
  },
  "luminance": 0.10461
}

Semantic roles & 50–950 ramp

primary
#2B6813
secondary
#82379F
accent
#3CECBA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6813

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

Preview Lab → · Contrast checker → · Palette generator →

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