#2B7C33#2B7C33

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

Color values

HEX#2B7C33
RGBrgb(43, 124, 51)
HSLhsl(126, 49%, 33%)
HSVhsv(126, 65%, 49%)
CMYKcmyk(65.3%, 0%, 58.9%, 51.4%)
CIE-LABlab(45.86, -40.44, 32.30)
CIE-LCHlch(45.86, 51.76, 141.38°)
OKLaboklab(51.98% -0.1095 0.0767)
OKLCHoklch(51.98% 0.134 145)
XYZxyz(8.8009, 15.1670, 5.5951)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C33 #7C2B74
analogous
#4B7C2B #2B7C33 #2B7C5B
triadic
#2B7C33 #332B7C #7C332B
tetradic
#2B7C33 #2B4B7C #7C2B74 #7C5B2B
square
#2B7C33 #2B4B7C #7C2B74 #7C5B2B
split-complementary
#2B7C33 #5B2B7C #7C2B4B
monochromatic
#0B210E #1B4F20 #2B7C33 #3BA946 #5BC666

Accessibility & contrast

On white

5.21
#2B7C33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2B7C33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7C33
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7C33#FFFFFF#000000##FFFFFF
##2B7C331.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E712C
Deuteranopia (green-blind)
#746A39
Tritanopia (blue-blind)
#18796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7c33;
/* rgb */ color: rgb(43, 124, 51);
/* oklch */ color: oklch(52.0% 0.134 145.0);
Tailwind
colors: {
  custom: {
    50: '#6fa36d',
    500: '#2b7c33',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c33;
$custom-light: #6fa36d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c33",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 51
  },
  "hsl": {
    "h": 125.926,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51975,
    "c": 0.13368,
    "h": 145
  },
  "luminance": 0.15168
}

Semantic roles & 50–950 ramp

primary
#2B7C33
secondary
#AC57A4
accent
#50CBD8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B7C33

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

Preview Lab → · Contrast checker → · Palette generator →

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