#2B7F11#2B7F11

#2B7F11 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.160 H 140.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2B7F11
RGBrgb(43, 127, 17)
HSLhsl(106, 76%, 28%)
HSVhsv(106, 87%, 50%)
CMYKcmyk(66.1%, 0%, 86.6%, 50.2%)
CIE-LABlab(46.62, -44.70, 46.84)
CIE-LCHlch(46.62, 64.74, 133.66°)
OKLaboklab(52.52% -0.1228 0.1031)
OKLCHoklch(52.52% 0.16 140)
XYZxyz(8.6864, 15.7320, 3.1090)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7F11 #65117F
analogous
#627F11 #2B7F11 #117F2E
triadic
#2B7F11 #112B7F #7F112B
tetradic
#2B7F11 #11627F #65117F #7F2E11
square
#2B7F11 #11627F #65117F #7F2E11
split-complementary
#2B7F11 #2E117F #7F1162
monochromatic
#091B04 #19490A #2B7F11 #3DB518 #54E228

Accessibility & contrast

On white

5.06
#2B7F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2B7F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7F11
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7F11#FFFFFF#000000##FFFFFF
##2B7F111.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#1E7B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7f11;
/* rgb */ color: rgb(43, 127, 17);
/* oklch */ color: oklch(52.5% 0.160 140.0);
Tailwind
colors: {
  custom: {
    50: '#71a55b',
    500: '#2b7f11',
    950: '#000000',
  },
}
SCSS
$custom: #2b7f11;
$custom-light: #71a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7f11",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 105.818,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52517,
    "c": 0.16033,
    "h": 140
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#2B7F11
secondary
#9737B5
accent
#35F3C6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2B7F11

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

Preview Lab → · Contrast checker → · Palette generator →

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