#2B7516#2B7516

#2B7516 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.146 H 139.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2B7516
RGBrgb(43, 117, 22)
HSLhsl(107, 68%, 27%)
HSVhsv(107, 81%, 46%)
CMYKcmyk(63.2%, 0%, 81.2%, 54.1%)
CIE-LABlab(43.20, -40.70, 42.14)
CIE-LCHlch(43.20, 58.59, 134.00°)
OKLaboklab(49.7% -0.1118 0.094)
OKLCHoklch(49.7% 0.146 139.9)
XYZxyz(7.5020, 13.2934, 2.9294)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7516 #601675
analogous
#5A7516 #2B7516 #167531
triadic
#2B7516 #162B75 #75162B
tetradic
#2B7516 #165A75 #601675 #753116
square
#2B7516 #165A75 #601675 #753116
split-complementary
#2B7516 #311675 #75165A
monochromatic
#091A05 #18410C #2B7516 #3EA920 #53D82E

Accessibility & contrast

On white

5.74
#2B7516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2B7516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7516
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7516#FFFFFF#000000##FFFFFF
##2B75161.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#6F6421
Tritanopia (blue-blind)
#217163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2b7516;
/* rgb */ color: rgb(43, 117, 22);
/* oklch */ color: oklch(49.7% 0.146 139.9);
Tailwind
colors: {
  custom: {
    50: '#6f9d5c',
    500: '#2b7516',
    950: '#000000',
  },
}
SCSS
$custom: #2b7516;
$custom-light: #6f9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7516",
  "rgb": {
    "r": 43,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 106.737,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49695,
    "c": 0.14606,
    "h": 139.9
  },
  "luminance": 0.13294
}

Semantic roles & 50–950 ramp

primary
#2B7516
secondary
#923CAB
accent
#3DEBC5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7516

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

Preview Lab → · Contrast checker → · Palette generator →

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