#2B6718#2B6718

#2B6718 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.127 H 139.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2B6718
RGBrgb(43, 103, 24)
HSLhsl(106, 62%, 25%)
HSVhsv(106, 77%, 40%)
CMYKcmyk(58.3%, 0%, 76.7%, 59.6%)
CIE-LABlab(38.34, -35.01, 36.61)
CIE-LCHlch(38.34, 50.66, 133.72°)
OKLaboklab(45.68% -0.0963 0.0828)
OKLCHoklch(45.68% 0.127 139.3)
XYZxyz(6.0111, 10.2795, 2.5314)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6718 #541867
analogous
#526718 #2B6718 #18672D
triadic
#2B6718 #182B67 #67182B
tetradic
#2B6718 #185267 #541867 #672D18
square
#2B6718 #185267 #541867 #672D18
split-complementary
#2B6718 #2D1867 #671852
monochromatic
#0A1906 #16350C #2B6718 #409924 #54CA2F

Accessibility & contrast

On white

6.87
#2B6718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2B6718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6718
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6718#FFFFFF#000000##FFFFFF
##2B67181.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0A
Deuteranopia (green-blind)
#635820
Tritanopia (blue-blind)
#256358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b6718;
/* rgb */ color: rgb(43, 103, 24);
/* oklch */ color: oklch(45.7% 0.127 139.3);
Tailwind
colors: {
  custom: {
    50: '#6c935b',
    500: '#2b6718',
    950: '#000000',
  },
}
SCSS
$custom: #2b6718;
$custom-light: #6c935b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6718",
  "rgb": {
    "r": 43,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 105.57,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45683,
    "c": 0.127,
    "h": 139.3
  },
  "luminance": 0.1028
}

Semantic roles & 50–950 ramp

primary
#2B6718
secondary
#863E9D
accent
#43E5BE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6718

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

Preview Lab → · Contrast checker → · Palette generator →

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