#2B7628#2B7628

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

Color values

HEX#2B7628
RGBrgb(43, 118, 40)
HSLhsl(118, 49%, 31%)
HSVhsv(118, 66%, 46%)
CMYKcmyk(63.6%, 0%, 66.1%, 53.7%)
CIE-LABlab(43.69, -39.46, 35.21)
CIE-LCHlch(43.69, 52.89, 138.26°)
OKLaboklab(50.14% -0.1074 0.0819)
OKLCHoklch(50.14% 0.135 142.7)
XYZxyz(7.8573, 13.6229, 4.2225)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7628 #732876
analogous
#527628 #2B7628 #28764C
triadic
#2B7628 #282B76 #76282B
tetradic
#2B7628 #285276 #732876 #764C28
square
#2B7628 #285276 #732876 #764C28
split-complementary
#2B7628 #4C2876 #762852
monochromatic
#0A1B09 #1A4819 #2B7628 #3CA437 #58C554

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7628#FFFFFF#000000##FFFFFF
##2B76281.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)
#796B1F
Deuteranopia (green-blind)
#6F652F
Tritanopia (blue-blind)
#1E7366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2b7628;
/* rgb */ color: rgb(43, 118, 40);
/* oklch */ color: oklch(50.1% 0.135 142.7);
Tailwind
colors: {
  custom: {
    50: '#6e9e65',
    500: '#2b7628',
    950: '#000000',
  },
}
SCSS
$custom: #2b7628;
$custom-light: #6e9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7628",
  "rgb": {
    "r": 43,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 117.692,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50141,
    "c": 0.13504,
    "h": 142.7
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#2B7628
secondary
#A552A8
accent
#4FD9D4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2B7628

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

Preview Lab → · Contrast checker → · Palette generator →

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