#2B6814#2B6814

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

Color values

HEX#2B6814
RGBrgb(43, 104, 20)
HSLhsl(104, 68%, 24%)
HSVhsv(104, 81%, 41%)
CMYKcmyk(58.7%, 0%, 80.8%, 59.2%)
CIE-LABlab(38.66, -35.73, 38.47)
CIE-LCHlch(38.66, 52.50, 132.88°)
OKLaboklab(45.94% -0.0985 0.086)
OKLCHoklch(45.94% 0.131 138.9)
XYZxyz(6.0726, 10.4642, 2.3615)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6814 #511468
analogous
#556814 #2B6814 #146827
triadic
#2B6814 #142B68 #68142B
tetradic
#2B6814 #145568 #511468 #682714
square
#2B6814 #145568 #511468 #682714
split-complementary
#2B6814 #271468 #681455
monochromatic
#0B1A05 #16350A #2B6814 #409B1E #55CF28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B6814#FFFFFF#000000##FFFFFF
##2B68141.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)
#6B5E02
Deuteranopia (green-blind)
#64591D
Tritanopia (blue-blind)
#256458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b6814;
/* rgb */ color: rgb(43, 104, 20);
/* oklch */ color: oklch(45.9% 0.131 138.9);
Tailwind
colors: {
  custom: {
    50: '#6c9459',
    500: '#2b6814',
    950: '#000000',
  },
}
SCSS
$custom: #2b6814;
$custom-light: #6c9459;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6814",
  "rgb": {
    "r": 43,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 103.571,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45941,
    "c": 0.1308,
    "h": 138.9
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#2B6814
secondary
#83399F
accent
#3DEBBB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6814

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

Preview Lab → · Contrast checker → · Palette generator →

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