#2B7C35#2B7C35

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

Color values

HEX#2B7C35
RGBrgb(43, 124, 53)
HSLhsl(127, 49%, 33%)
HSVhsv(127, 65%, 49%)
CMYKcmyk(65.3%, 0%, 57.3%, 51.4%)
CIE-LABlab(45.89, -40.16, 31.31)
CIE-LCHlch(45.89, 50.93, 142.06°)
OKLaboklab(52% -0.1086 0.0747)
OKLCHoklch(52% 0.132 145.5)
XYZxyz(8.8459, 15.1851, 5.8323)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C35 #7C2B72
analogous
#4A7C2B #2B7C35 #2B7C5D
triadic
#2B7C35 #352B7C #7C352B
tetradic
#2B7C35 #2B4A7C #7C2B72 #7C5D2B
square
#2B7C35 #2B4A7C #7C2B72 #7C5D2B
split-complementary
#2B7C35 #5D2B7C #7C2B4A
monochromatic
#0B210E #1B4F22 #2B7C35 #3BA948 #5BC668

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7C35#FFFFFF#000000##FFFFFF
##2B7C351.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)
#7E712E
Deuteranopia (green-blind)
#746A3A
Tritanopia (blue-blind)
#17796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7c35;
/* rgb */ color: rgb(43, 124, 53);
/* oklch */ color: oklch(52.0% 0.132 145.5);
Tailwind
colors: {
  custom: {
    50: '#6ea36e',
    500: '#2b7c35',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c35;
$custom-light: #6ea36e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c35",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 53
  },
  "hsl": {
    "h": 127.407,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52003,
    "c": 0.13185,
    "h": 145.5
  },
  "luminance": 0.15186
}

Semantic roles & 50–950 ramp

primary
#2B7C35
secondary
#AC57A2
accent
#50C7D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B7C35

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

Preview Lab → · Contrast checker → · Palette generator →

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