#2B7C2D#2B7C2D

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

Color values

HEX#2B7C2D
RGBrgb(43, 124, 45)
HSLhsl(121, 49%, 33%)
HSVhsv(121, 65%, 49%)
CMYKcmyk(65.3%, 0%, 63.7%, 51.4%)
CIE-LABlab(45.79, -41.22, 35.20)
CIE-LCHlch(45.79, 54.20, 139.51°)
OKLaboklab(51.9% -0.1118 0.0824)
OKLCHoklch(51.9% 0.139 143.6)
XYZxyz(8.6771, 15.1175, 4.9428)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C2D #7C2B7A
analogous
#527C2B #2B7C2D #2B7C55
triadic
#2B7C2D #2D2B7C #7C2D2B
tetradic
#2B7C2D #2B527C #7C2B7A #7C552B
square
#2B7C2D #2B527C #7C2B7A #7C552B
split-complementary
#2B7C2D #552B7C #7C2B52
monochromatic
#0B210C #1B4F1D #2B7C2D #3BA93D #5BC65E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7C2D#FFFFFF#000000##FFFFFF
##2B7C2D1.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)
#7F7124
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#1A796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b7c2d;
/* rgb */ color: rgb(43, 124, 45);
/* oklch */ color: oklch(51.9% 0.139 143.6);
Tailwind
colors: {
  custom: {
    50: '#6fa369',
    500: '#2b7c2d',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c2d;
$custom-light: #6fa369;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c2d",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 121.481,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51898,
    "c": 0.13893,
    "h": 143.6
  },
  "luminance": 0.15118
}

Semantic roles & 50–950 ramp

primary
#2B7C2D
secondary
#AC57AA
accent
#50D5D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B7C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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