#2B7D24#2B7D24

#2B7D24 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.147 H 142.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2B7D24
RGBrgb(43, 125, 36)
HSLhsl(115, 55%, 32%)
HSVhsv(115, 71%, 49%)
CMYKcmyk(65.6%, 0%, 71.2%, 51%)
CIE-LABlab(46.05, -42.58, 39.58)
CIE-LCHlch(46.05, 58.14, 137.09°)
OKLaboklab(52.08% -0.116 0.0907)
OKLCHoklch(52.08% 0.147 142)
XYZxyz(8.6478, 15.3073, 4.1676)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D24 #76247D
analogous
#587D24 #2B7D24 #247D4A
triadic
#2B7D24 #242B7D #7D242B
tetradic
#2B7D24 #24587D #76247D #7D4A24
square
#2B7D24 #24587D #76247D #7D4A24
split-complementary
#2B7D24 #4A247D #7D2458
monochromatic
#0A1E09 #1B4D16 #2B7D24 #3BAD32 #59CC4F

Accessibility & contrast

On white

5.17
#2B7D24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2B7D24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D24
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D24#FFFFFF#000000##FFFFFF
##2B7D241.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807117
Deuteranopia (green-blind)
#766A2C
Tritanopia (blue-blind)
#1C796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d24;
/* rgb */ color: rgb(43, 125, 36);
/* oklch */ color: oklch(52.1% 0.147 142.0);
Tailwind
colors: {
  custom: {
    50: '#70a364',
    500: '#2b7d24',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d24;
$custom-light: #70a364;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d24",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 115.281,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52084,
    "c": 0.14726,
    "h": 142
  },
  "luminance": 0.15308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B7D24

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

Preview Lab → · Contrast checker → · Palette generator →

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