#2B7A2C#2B7A2C

#2B7A2C is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.137 H 143.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2B7A2C
RGBrgb(43, 122, 44)
HSLhsl(121, 48%, 32%)
HSVhsv(121, 65%, 48%)
CMYKcmyk(64.8%, 0%, 63.9%, 52.2%)
CIE-LABlab(45.10, -40.56, 34.89)
CIE-LCHlch(45.10, 53.50, 139.30°)
OKLaboklab(51.32% -0.1101 0.0817)
OKLCHoklch(51.32% 0.137 143.4)
XYZxyz(8.4099, 14.6137, 4.7599)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7A2C #7A2B79
analogous
#527A2B #2B7A2C #2B7A53
triadic
#2B7A2C #2C2B7A #7A2C2B
tetradic
#2B7A2C #2B527A #7A2B79 #7A532B
square
#2B7A2C #2B527A #7A2B79 #7A532B
split-complementary
#2B7A2C #532B7A #7A2B52
monochromatic
#0B1F0B #1B4D1C #2B7A2C #3BA73C #5AC55C

Accessibility & contrast

On white

5.35
#2B7A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2B7A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7A2C
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7A2C#FFFFFF#000000##FFFFFF
##2B7A2C1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F23
Deuteranopia (green-blind)
#736832
Tritanopia (blue-blind)
#1B7769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7a2c;
/* rgb */ color: rgb(43, 122, 44);
/* oklch */ color: oklch(51.3% 0.137 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ea168',
    500: '#2b7a2c',
    950: '#000000',
  },
}
SCSS
$custom: #2b7a2c;
$custom-light: #6ea168;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7a2c",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 120.759,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51321,
    "c": 0.13709,
    "h": 143.4
  },
  "luminance": 0.14615
}

Semantic roles & 50–950 ramp

primary
#2B7A2C
secondary
#AB56AA
accent
#50D6D7
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B7A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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