#2B7A1C#2B7A1C

#2B7A1C is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.149 H 140.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2B7A1C
RGBrgb(43, 122, 28)
HSLhsl(110, 63%, 29%)
HSVhsv(110, 77%, 48%)
CMYKcmyk(64.8%, 0%, 77%, 52.2%)
CIE-LABlab(44.96, -42.16, 41.70)
CIE-LCHlch(44.96, 59.30, 135.31°)
OKLaboklab(51.16% -0.1153 0.094)
OKLCHoklch(51.16% 0.149 140.8)
XYZxyz(8.1650, 14.5157, 3.4699)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7A1C #6B1C7A
analogous
#5A7A1C #2B7A1C #1C7A3C
triadic
#2B7A1C #1C2B7A #7A1C2B
tetradic
#2B7A1C #1C5A7A #6B1C7A #7A3C1C
square
#2B7A1C #1C5A7A #6B1C7A #7A3C1C
split-complementary
#2B7A1C #3C1C7A #7A1C5A
monochromatic
#091906 #194811 #2B7A1C #3DAC27 #56D33E

Accessibility & contrast

On white

5.38
#2B7A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2B7A1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7A1C
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7A1C#FFFFFF#000000##FFFFFF
##2B7A1C1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E09
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#1E7668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7a1c;
/* rgb */ color: rgb(43, 122, 28);
/* oklch */ color: oklch(51.2% 0.149 140.8);
Tailwind
colors: {
  custom: {
    50: '#6fa15f',
    500: '#2b7a1c',
    950: '#000000',
  },
}
SCSS
$custom: #2b7a1c;
$custom-light: #6fa15f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7a1c",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 110.426,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51164,
    "c": 0.14879,
    "h": 140.8
  },
  "luminance": 0.14516
}

Semantic roles & 50–950 ramp

primary
#2B7A1C
secondary
#9D44AE
accent
#42E6CC
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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