#2B6719#2B6719

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

Color values

HEX#2B6719
RGBrgb(43, 103, 25)
HSLhsl(106, 61%, 25%)
HSVhsv(106, 76%, 40%)
CMYKcmyk(58.3%, 0%, 75.7%, 59.6%)
CIE-LABlab(38.35, -34.93, 36.20)
CIE-LCHlch(38.35, 50.31, 133.97°)
OKLaboklab(45.69% -0.096 0.0821)
OKLCHoklch(45.69% 0.126 139.5)
XYZxyz(6.0217, 10.2838, 2.5872)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6719 #551967
analogous
#526719 #2B6719 #19672E
triadic
#2B6719 #192B67 #67192B
tetradic
#2B6719 #195267 #551967 #672E19
square
#2B6719 #195267 #551967 #672E19
split-complementary
#2B6719 #2E1967 #671952
monochromatic
#0A1906 #16360D #2B6719 #409825 #54C931

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B6719#FFFFFF#000000##FFFFFF
##2B67191.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)
#6A5D0C
Deuteranopia (green-blind)
#625821
Tritanopia (blue-blind)
#256358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b6719;
/* rgb */ color: rgb(43, 103, 25);
/* oklch */ color: oklch(45.7% 0.126 139.5);
Tailwind
colors: {
  custom: {
    50: '#6c935b',
    500: '#2b6719',
    950: '#000000',
  },
}
SCSS
$custom: #2b6719;
$custom-light: #6c935b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6719",
  "rgb": {
    "r": 43,
    "g": 103,
    "b": 25
  },
  "hsl": {
    "h": 106.154,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45691,
    "c": 0.12632,
    "h": 139.5
  },
  "luminance": 0.10284
}

Semantic roles & 50–950 ramp

primary
#2B6719
secondary
#873F9D
accent
#44E4BF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6719

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

Preview Lab → · Contrast checker → · Palette generator →

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