#2B7C36#2B7C36

#2B7C36 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.131 H 145.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2B7C36
RGBrgb(43, 124, 54)
HSLhsl(128, 49%, 33%)
HSVhsv(128, 65%, 49%)
CMYKcmyk(65.3%, 0%, 56.5%, 51.4%)
CIE-LABlab(45.90, -40.02, 30.81)
CIE-LCHlch(45.90, 50.50, 142.41°)
OKLaboklab(52.02% -0.1082 0.0737)
OKLCHoklch(52.02% 0.131 145.8)
XYZxyz(8.8692, 15.1944, 5.9547)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C36 #7C2B71
analogous
#487C2B #2B7C36 #2B7C5E
triadic
#2B7C36 #362B7C #7C362B
tetradic
#2B7C36 #2B487C #7C2B71 #7C5E2B
square
#2B7C36 #2B487C #7C2B71 #7C5E2B
split-complementary
#2B7C36 #5E2B7C #7C2B48
monochromatic
#0B210E #1B4F22 #2B7C36 #3BA94A #5BC66A

Accessibility & contrast

On white

5.20
#2B7C36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2B7C36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7C36
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7C36#FFFFFF#000000##FFFFFF
##2B7C361.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7130
Deuteranopia (green-blind)
#746A3B
Tritanopia (blue-blind)
#16796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7c36;
/* rgb */ color: rgb(43, 124, 54);
/* oklch */ color: oklch(52.0% 0.131 145.8);
Tailwind
colors: {
  custom: {
    50: '#6ea36f',
    500: '#2b7c36',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c36;
$custom-light: #6ea36f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c36",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 54
  },
  "hsl": {
    "h": 128.148,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52018,
    "c": 0.13092,
    "h": 145.8
  },
  "luminance": 0.15195
}

Semantic roles & 50–950 ramp

primary
#2B7C36
secondary
#AC57A0
accent
#50C6D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B7C36

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

Preview Lab → · Contrast checker → · Palette generator →

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