#2B7824#2B7824

#2B7824 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.141 H 141.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2B7824
RGBrgb(43, 120, 36)
HSLhsl(115, 54%, 31%)
HSVhsv(115, 70%, 47%)
CMYKcmyk(64.2%, 0%, 70%, 52.9%)
CIE-LABlab(44.34, -40.67, 37.76)
CIE-LCHlch(44.34, 55.50, 137.13°)
OKLaboklab(50.67% -0.1109 0.0868)
OKLCHoklch(50.67% 0.141 141.9)
XYZxyz(8.0307, 14.0731, 3.9619)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7824 #712478
analogous
#557824 #2B7824 #247847
triadic
#2B7824 #242B78 #78242B
tetradic
#2B7824 #245578 #712478 #784724
square
#2B7824 #245578 #712478 #784724
split-complementary
#2B7824 #472478 #782455
monochromatic
#091A08 #1A4916 #2B7824 #3CA732 #57CA4D

Accessibility & contrast

On white

5.50
#2B7824 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B7824
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7824#FFFFFF#000000##FFFFFF
##2B78241.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D19
Deuteranopia (green-blind)
#71662C
Tritanopia (blue-blind)
#1E7467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2b7824;
/* rgb */ color: rgb(43, 120, 36);
/* oklch */ color: oklch(50.7% 0.141 141.9);
Tailwind
colors: {
  custom: {
    50: '#6fa063',
    500: '#2b7824',
    950: '#000000',
  },
}
SCSS
$custom: #2b7824;
$custom-light: #6fa063;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7824",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 36
  },
  "hsl": {
    "h": 115,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50666,
    "c": 0.14082,
    "h": 141.9
  },
  "luminance": 0.14074
}

Semantic roles & 50–950 ramp

primary
#2B7824
secondary
#A34DAB
accent
#4BDDD1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2B7824

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

Preview Lab → · Contrast checker → · Palette generator →

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