#2B7316#2B7316

#2B7316 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.144 H 139.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2B7316
RGBrgb(43, 115, 22)
HSLhsl(106, 68%, 27%)
HSVhsv(106, 81%, 45%)
CMYKcmyk(62.6%, 0%, 80.9%, 54.9%)
CIE-LABlab(42.51, -39.94, 41.48)
CIE-LCHlch(42.51, 57.58, 133.92°)
OKLaboklab(49.12% -0.1097 0.0926)
OKLCHoklch(49.12% 0.144 139.8)
XYZxyz(7.2715, 12.8323, 2.8526)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7316 #5E1673
analogous
#5A7316 #2B7316 #167330
triadic
#2B7316 #162B73 #73162B
tetradic
#2B7316 #165A73 #5E1673 #733016
square
#2B7316 #165A73 #5E1673 #733016
split-complementary
#2B7316 #301673 #73165A
monochromatic
#0A1A05 #18400C #2B7316 #3EA620 #53D72D

Accessibility & contrast

On white

5.89
#2B7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2B7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7316
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7316#FFFFFF#000000##FFFFFF
##2B73161.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6E6221
Tritanopia (blue-blind)
#226F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7316;
/* rgb */ color: rgb(43, 115, 22);
/* oklch */ color: oklch(49.1% 0.144 139.8);
Tailwind
colors: {
  custom: {
    50: '#6e9c5b',
    500: '#2b7316',
    950: '#000000',
  },
}
SCSS
$custom: #2b7316;
$custom-light: #6e9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7316",
  "rgb": {
    "r": 43,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 106.452,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49122,
    "c": 0.14359,
    "h": 139.8
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#2B7316
secondary
#903CA9
accent
#3DEBC4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7316

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

Preview Lab → · Contrast checker → · Palette generator →

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