#2B7822#2B7822

#2B7822 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.142 H 141.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2B7822
RGBrgb(43, 120, 34)
HSLhsl(114, 56%, 30%)
HSVhsv(114, 72%, 47%)
CMYKcmyk(64.2%, 0%, 71.7%, 52.9%)
CIE-LABlab(44.32, -40.87, 38.61)
CIE-LCHlch(44.32, 56.22, 136.63°)
OKLaboklab(50.65% -0.1115 0.0884)
OKLCHoklch(50.65% 0.142 141.6)
XYZxyz(8.0011, 14.0613, 3.8055)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7822 #6F2278
analogous
#567822 #2B7822 #227844
triadic
#2B7822 #222B78 #78222B
tetradic
#2B7822 #225678 #6F2278 #784422
square
#2B7822 #225678 #6F2278 #784422
split-complementary
#2B7822 #442278 #782256
monochromatic
#091907 #1A4814 #2B7822 #3CA830 #57CB49

Accessibility & contrast

On white

5.51
#2B7822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2B7822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7822
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7822#FFFFFF#000000##FFFFFF
##2B78221.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D15
Deuteranopia (green-blind)
#72662A
Tritanopia (blue-blind)
#1E7467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2b7822;
/* rgb */ color: rgb(43, 120, 34);
/* oklch */ color: oklch(50.6% 0.142 141.6);
Tailwind
colors: {
  custom: {
    50: '#6fa062',
    500: '#2b7822',
    950: '#000000',
  },
}
SCSS
$custom: #2b7822;
$custom-light: #6fa062;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7822",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 113.721,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50647,
    "c": 0.14228,
    "h": 141.6
  },
  "luminance": 0.14062
}

Semantic roles & 50–950 ramp

primary
#2B7822
secondary
#A14BAB
accent
#49DFCF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2B7822

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

Preview Lab → · Contrast checker → · Palette generator →

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