#2B7617#2B7617

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

Color values

HEX#2B7617
RGBrgb(43, 118, 23)
HSLhsl(107, 67%, 28%)
HSVhsv(107, 81%, 46%)
CMYKcmyk(63.6%, 0%, 80.5%, 53.7%)
CIE-LABlab(43.55, -41.01, 42.14)
CIE-LCHlch(43.55, 58.80, 134.23°)
OKLaboklab(49.99% -0.1126 0.0942)
OKLCHoklch(49.99% 0.147 140.1)
XYZxyz(7.6290, 13.5316, 3.0203)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7617 #621776
analogous
#5B7617 #2B7617 #177632
triadic
#2B7617 #172B76 #76172B
tetradic
#2B7617 #175B76 #621776 #763217
square
#2B7617 #175B76 #621776 #763217
split-complementary
#2B7617 #321776 #76175B
monochromatic
#091A05 #18430D #2B7617 #3EA921 #54D731

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7617#FFFFFF#000000##FFFFFF
##2B76171.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)
#796B01
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#217264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2b7617;
/* rgb */ color: rgb(43, 118, 23);
/* oklch */ color: oklch(50.0% 0.147 140.1);
Tailwind
colors: {
  custom: {
    50: '#6f9e5c',
    500: '#2b7617',
    950: '#000000',
  },
}
SCSS
$custom: #2b7617;
$custom-light: #6f9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7617",
  "rgb": {
    "r": 43,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 107.368,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49987,
    "c": 0.14675,
    "h": 140.1
  },
  "luminance": 0.13532
}

Semantic roles & 50–950 ramp

primary
#2B7617
secondary
#943EAB
accent
#3EEAC6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7617

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

Preview Lab → · Contrast checker → · Palette generator →

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