#2B7E24#2B7E24

#2B7E24 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.149 H 142.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2B7E24
RGBrgb(43, 126, 36)
HSLhsl(115, 56%, 32%)
HSVhsv(115, 71%, 49%)
CMYKcmyk(65.9%, 0%, 71.4%, 50.6%)
CIE-LABlab(46.39, -42.96, 39.95)
CIE-LCHlch(46.39, 58.66, 137.08°)
OKLaboklab(52.37% -0.1171 0.0914)
OKLCHoklch(52.37% 0.149 142)
XYZxyz(8.7751, 15.5618, 4.2100)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E24 #77247E
analogous
#587E24 #2B7E24 #247E4A
triadic
#2B7E24 #242B7E #7E242B
tetradic
#2B7E24 #24587E #77247E #7E4A24
square
#2B7E24 #24587E #77247E #7E4A24
split-complementary
#2B7E24 #4A247E #7E2458
monochromatic
#0B1F09 #1B4E16 #2B7E24 #3BAE32 #59CD50

Accessibility & contrast

On white

5.11
#2B7E24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2B7E24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7E24
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7E24#FFFFFF#000000##FFFFFF
##2B7E241.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817217
Deuteranopia (green-blind)
#776B2D
Tritanopia (blue-blind)
#1B7A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7e24;
/* rgb */ color: rgb(43, 126, 36);
/* oklch */ color: oklch(52.4% 0.149 142.0);
Tailwind
colors: {
  custom: {
    50: '#70a464',
    500: '#2b7e24',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e24;
$custom-light: #70a464;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e24",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 115.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52367,
    "c": 0.14853,
    "h": 142
  },
  "luminance": 0.15563
}

Semantic roles & 50–950 ramp

primary
#2B7E24
secondary
#A94EB0
accent
#49DFD3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B7E24

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

Preview Lab → · Contrast checker → · Palette generator →

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