#2B7627#2B7627

#2B7627 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.136 H 142.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2B7627
RGBrgb(43, 118, 39)
HSLhsl(117, 50%, 31%)
HSVhsv(117, 67%, 46%)
CMYKcmyk(63.6%, 0%, 66.9%, 53.7%)
CIE-LABlab(43.68, -39.57, 35.67)
CIE-LCHlch(43.68, 53.28, 137.97°)
OKLaboklab(50.13% -0.1077 0.0828)
OKLCHoklch(50.13% 0.136 142.5)
XYZxyz(7.8405, 13.6162, 4.1341)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7627 #722776
analogous
#527627 #2B7627 #27764A
triadic
#2B7627 #272B76 #76272B
tetradic
#2B7627 #275276 #722776 #764A27
square
#2B7627 #275276 #722776 #764A27
split-complementary
#2B7627 #4A2776 #762752
monochromatic
#091A09 #1A4818 #2B7627 #3CA436 #58C652

Accessibility & contrast

On white

5.64
#2B7627 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2B7627 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7627
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7627#FFFFFF#000000##FFFFFF
##2B76271.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1D
Deuteranopia (green-blind)
#6F652E
Tritanopia (blue-blind)
#1E7266
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2b7627;
/* rgb */ color: rgb(43, 118, 39);
/* oklch */ color: oklch(50.1% 0.136 142.5);
Tailwind
colors: {
  custom: {
    50: '#6e9e65',
    500: '#2b7627',
    950: '#000000',
  },
}
SCSS
$custom: #2b7627;
$custom-light: #6e9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7627",
  "rgb": {
    "r": 43,
    "g": 118,
    "b": 39
  },
  "hsl": {
    "h": 116.962,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50129,
    "c": 0.13585,
    "h": 142.5
  },
  "luminance": 0.13617
}

Semantic roles & 50–950 ramp

primary
#2B7627
secondary
#A451A8
accent
#4EDAD3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2B7627

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

Preview Lab → · Contrast checker → · Palette generator →

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