#2B7D16#2B7D16

#2B7D16 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.156 H 140.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2B7D16
RGBrgb(43, 125, 22)
HSLhsl(108, 70%, 29%)
HSVhsv(108, 82%, 49%)
CMYKcmyk(65.6%, 0%, 82.4%, 51%)
CIE-LABlab(45.96, -43.69, 44.76)
CIE-LCHlch(45.96, 62.55, 134.31°)
OKLaboklab(51.98% -0.1198 0.0995)
OKLCHoklch(51.98% 0.156 140.3)
XYZxyz(8.4743, 15.2379, 3.2535)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D16 #68167D
analogous
#5F7D16 #2B7D16 #167D35
triadic
#2B7D16 #162B7D #7D162B
tetradic
#2B7D16 #165F7D #68167D #7D3516
square
#2B7D16 #165F7D #68167D #7D3516
split-complementary
#2B7D16 #35167D #7D165F
monochromatic
#091A05 #19490D #2B7D16 #3DB11F #55DB32

Accessibility & contrast

On white

5.19
#2B7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2B7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D16
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D16#FFFFFF#000000##FFFFFF
##2B7D161.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#1E796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d16;
/* rgb */ color: rgb(43, 125, 22);
/* oklch */ color: oklch(52.0% 0.156 140.3);
Tailwind
colors: {
  custom: {
    50: '#70a35d',
    500: '#2b7d16',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d16;
$custom-light: #70a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d16",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 107.767,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51976,
    "c": 0.15575,
    "h": 140.3
  },
  "luminance": 0.15239
}

Semantic roles & 50–950 ramp

primary
#2B7D16
secondary
#9A3DB2
accent
#3BEDC9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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