#2B7F16#2B7F16

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

Color values

HEX#2B7F16
RGBrgb(43, 127, 22)
HSLhsl(108, 70%, 29%)
HSVhsv(108, 83%, 50%)
CMYKcmyk(66.1%, 0%, 82.7%, 50.2%)
CIE-LABlab(46.64, -44.42, 45.41)
CIE-LCHlch(46.64, 63.52, 134.37°)
OKLaboklab(52.54% -0.1218 0.1008)
OKLCHoklch(52.54% 0.158 140.4)
XYZxyz(8.7300, 15.7494, 3.3388)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7F16 #6A167F
analogous
#607F16 #2B7F16 #167F36
triadic
#2B7F16 #162B7F #7F162B
tetradic
#2B7F16 #16607F #6A167F #7F3616
square
#2B7F16 #16607F #6A167F #7F3616
split-complementary
#2B7F16 #36167F #7F1660
monochromatic
#091A05 #194B0D #2B7F16 #3DB31F #55DC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7F16#FFFFFF#000000##FFFFFF
##2B7F161.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)
#796C23
Tritanopia (blue-blind)
#1D7B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7f16;
/* rgb */ color: rgb(43, 127, 22);
/* oklch */ color: oklch(52.5% 0.158 140.4);
Tailwind
colors: {
  custom: {
    50: '#71a55d',
    500: '#2b7f16',
    950: '#000000',
  },
}
SCSS
$custom: #2b7f16;
$custom-light: #71a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7f16",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 108,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52544,
    "c": 0.15812,
    "h": 140.4
  },
  "luminance": 0.1575
}

Semantic roles & 50–950 ramp

primary
#2B7F16
secondary
#9C3DB4
accent
#3BEDCA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2B7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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