#2B7C14#2B7C14

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

Color values

HEX#2B7C14
RGBrgb(43, 124, 20)
HSLhsl(107, 72%, 28%)
HSVhsv(107, 84%, 49%)
CMYKcmyk(65.3%, 0%, 83.9%, 51.4%)
CIE-LABlab(45.60, -43.45, 45.05)
CIE-LCHlch(45.60, 62.59, 133.96°)
OKLaboklab(51.68% -0.1193 0.0998)
OKLCHoklch(51.68% 0.156 140.1)
XYZxyz(8.3298, 14.9786, 3.1139)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C14 #65147C
analogous
#5F7C14 #2B7C14 #147C31
triadic
#2B7C14 #142B7C #7C142B
tetradic
#2B7C14 #145F7C #65147C #7C3114
square
#2B7C14 #145F7C #65147C #7C3114
split-complementary
#2B7C14 #31147C #7C145F
monochromatic
#091A04 #19470B #2B7C14 #3DB11D #54DD2D

Accessibility & contrast

On white

5.26
#2B7C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B7C14
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7C14#FFFFFF#000000##FFFFFF
##2B7C141.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b7c14;
/* rgb */ color: rgb(43, 124, 20);
/* oklch */ color: oklch(51.7% 0.156 140.1);
Tailwind
colors: {
  custom: {
    50: '#70a35c',
    500: '#2b7c14',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c14;
$custom-light: #70a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c14",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 106.731,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5168,
    "c": 0.15552,
    "h": 140.1
  },
  "luminance": 0.14979
}

Semantic roles & 50–950 ramp

primary
#2B7C14
secondary
#973AB2
accent
#39EFC7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2B7C14

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

Preview Lab → · Contrast checker → · Palette generator →

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