#2B6715#2B6715

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

Color values

HEX#2B6715
RGBrgb(43, 103, 21)
HSLhsl(104, 66%, 24%)
HSVhsv(104, 80%, 40%)
CMYKcmyk(58.3%, 0%, 79.6%, 59.6%)
CIE-LABlab(38.32, -35.25, 37.76)
CIE-LCHlch(38.32, 51.66, 133.03°)
OKLaboklab(45.66% -0.0972 0.0847)
OKLCHoklch(45.66% 0.129 138.9)
XYZxyz(5.9816, 10.2677, 2.3760)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6715 #511567
analogous
#546715 #2B6715 #156728
triadic
#2B6715 #152B67 #67152B
tetradic
#2B6715 #155467 #511567 #672815
square
#2B6715 #155467 #511567 #672815
split-complementary
#2B6715 #281567 #671554
monochromatic
#0B1905 #16340B #2B6715 #409A1F #55CD2A

Accessibility & contrast

On white

6.88
#2B6715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2B6715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6715
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6715#FFFFFF#000000##FFFFFF
##2B67151.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D04
Deuteranopia (green-blind)
#63581E
Tritanopia (blue-blind)
#256357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b6715;
/* rgb */ color: rgb(43, 103, 21);
/* oklch */ color: oklch(45.7% 0.129 138.9);
Tailwind
colors: {
  custom: {
    50: '#6c9359',
    500: '#2b6715',
    950: '#000000',
  },
}
SCSS
$custom: #2b6715;
$custom-light: #6c9359;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6715",
  "rgb": {
    "r": 43,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 103.902,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45659,
    "c": 0.12891,
    "h": 138.9
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#2B6715
secondary
#833A9E
accent
#3FE9BB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6715

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

Preview Lab → · Contrast checker → · Palette generator →

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