#2B7C16#2B7C16

#2B7C16 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.155 H 140.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2B7C16
RGBrgb(43, 124, 22)
HSLhsl(108, 70%, 29%)
HSVhsv(108, 82%, 49%)
CMYKcmyk(65.3%, 0%, 82.3%, 51.4%)
CIE-LABlab(45.62, -43.32, 44.44)
CIE-LCHlch(45.62, 62.06, 134.27°)
OKLaboklab(51.69% -0.1188 0.0988)
OKLCHoklch(51.69% 0.155 140.3)
XYZxyz(8.3483, 14.9860, 3.2115)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C16 #67167C
analogous
#5E7C16 #2B7C16 #167C34
triadic
#2B7C16 #162B7C #7C162B
tetradic
#2B7C16 #165E7C #67167C #7C3416
square
#2B7C16 #165E7C #67167C #7C3416
split-complementary
#2B7C16 #34167C #7C165E
monochromatic
#091A05 #19480D #2B7C16 #3DB01F #55DB32

Accessibility & contrast

On white

5.25
#2B7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2B7C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7C16
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7C16#FFFFFF#000000##FFFFFF
##2B7C161.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#1F7869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b7c16;
/* rgb */ color: rgb(43, 124, 22);
/* oklch */ color: oklch(51.7% 0.155 140.3);
Tailwind
colors: {
  custom: {
    50: '#70a35d',
    500: '#2b7c16',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c16;
$custom-light: #70a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c16",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 107.647,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51692,
    "c": 0.15455,
    "h": 140.3
  },
  "luminance": 0.14987
}

Semantic roles & 50–950 ramp

primary
#2B7C16
secondary
#993DB1
accent
#3BEDC8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2B7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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