#2B7615#2B7615

#2B7615 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.148 H 139.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2B7615
RGBrgb(43, 118, 21)
HSLhsl(106, 70%, 27%)
HSVhsv(106, 82%, 46%)
CMYKcmyk(63.6%, 0%, 82.2%, 53.7%)
CIE-LABlab(43.54, -41.15, 42.80)
CIE-LCHlch(43.54, 59.37, 133.87°)
OKLaboklab(49.97% -0.113 0.0952)
OKLCHoklch(49.97% 0.148 139.9)
XYZxyz(7.6097, 13.5239, 2.9187)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7615 #601576
analogous
#5B7615 #2B7615 #157630
triadic
#2B7615 #152B76 #76152B
tetradic
#2B7615 #155B76 #601576 #763015
square
#2B7615 #155B76 #601576 #763015
split-complementary
#2B7615 #301576 #76155B
monochromatic
#091A05 #18420C #2B7615 #3EAA1E #53D92C

Accessibility & contrast

On white

5.67
#2B7615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2B7615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7615
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7615#FFFFFF#000000##FFFFFF
##2B76151.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B00
Deuteranopia (green-blind)
#706520
Tritanopia (blue-blind)
#217264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2b7615;
/* rgb */ color: rgb(43, 118, 21);
/* oklch */ color: oklch(50.0% 0.148 139.9);
Tailwind
colors: {
  custom: {
    50: '#6f9e5b',
    500: '#2b7615',
    950: '#000000',
  },
}
SCSS
$custom: #2b7615;
$custom-light: #6f9e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7615",
  "rgb": {
    "r": 43,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 106.392,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49974,
    "c": 0.14781,
    "h": 139.9
  },
  "luminance": 0.13525
}

Semantic roles & 50–950 ramp

primary
#2B7615
secondary
#923BAC
accent
#3BEDC4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7615

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

Preview Lab → · Contrast checker → · Palette generator →

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