#2B7C2B#2B7C2B

#2B7C2B is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.141 H 143.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2B7C2B
RGBrgb(43, 124, 43)
HSLhsl(120, 49%, 33%)
HSVhsv(120, 65%, 49%)
CMYKcmyk(65.3%, 0%, 65.3%, 51.4%)
CIE-LABlab(45.77, -41.46, 36.13)
CIE-LCHlch(45.77, 54.99, 138.93°)
OKLaboklab(51.87% -0.1126 0.0842)
OKLCHoklch(51.87% 0.141 143.2)
XYZxyz(8.6395, 15.1025, 4.7448)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C2B #7C2B7C
analogous
#537C2B #2B7C2B #2B7C53
triadic
#2B7C2B #2B2B7C #7C2B2B
tetradic
#2B7C2B #2B537C #7C2B7C #7C532B
square
#2B7C2B #2B537C #7C2B7C #7C532B
split-complementary
#2B7C2B #532B7C #7C2B53
monochromatic
#0B210B #1B4F1B #2B7C2B #3BA93B #5BC65B

Accessibility & contrast

On white

5.22
#2B7C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2B7C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7C2B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7C2B#FFFFFF#000000##FFFFFF
##2B7C2B1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7122
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#1A786B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b7c2b;
/* rgb */ color: rgb(43, 124, 43);
/* oklch */ color: oklch(51.9% 0.141 143.2);
Tailwind
colors: {
  custom: {
    50: '#6fa368',
    500: '#2b7c2b',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c2b;
$custom-light: #6fa368;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c2b",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 120,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51874,
    "c": 0.14059,
    "h": 143.2
  },
  "luminance": 0.15103
}

Semantic roles & 50–950 ramp

primary
#2B7C2B
secondary
#AC57AC
accent
#50D8D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B7C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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