#2B7B14#2B7B14

#2B7B14 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.154 H 140.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2B7B14
RGBrgb(43, 123, 20)
HSLhsl(107, 72%, 28%)
HSVhsv(107, 84%, 48%)
CMYKcmyk(65%, 0%, 83.7%, 51.8%)
CIE-LABlab(45.26, -43.08, 44.73)
CIE-LCHlch(45.26, 62.10, 133.92°)
OKLaboklab(51.4% -0.1183 0.0991)
OKLCHoklch(51.4% 0.154 140)
XYZxyz(8.2051, 14.7292, 3.0723)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7B14 #64147B
analogous
#5E7B14 #2B7B14 #147B30
triadic
#2B7B14 #142B7B #7B142B
tetradic
#2B7B14 #145E7B #64147B #7B3014
square
#2B7B14 #145E7B #64147B #7B3014
split-complementary
#2B7B14 #30147B #7B145E
monochromatic
#091A04 #19460B #2B7B14 #3DB01D #54DD2D

Accessibility & contrast

On white

5.32
#2B7B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2B7B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7B14
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7B14#FFFFFF#000000##FFFFFF
##2B7B141.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#1F7768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7b14;
/* rgb */ color: rgb(43, 123, 20);
/* oklch */ color: oklch(51.4% 0.154 140.0);
Tailwind
colors: {
  custom: {
    50: '#70a25c',
    500: '#2b7b14',
    950: '#000000',
  },
}
SCSS
$custom: #2b7b14;
$custom-light: #70a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7b14",
  "rgb": {
    "r": 43,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 106.602,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51395,
    "c": 0.15433,
    "h": 140
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

primary
#2B7B14
secondary
#963AB1
accent
#39EFC6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2B7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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