#2B7D14#2B7D14

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

Color values

HEX#2B7D14
RGBrgb(43, 125, 20)
HSLhsl(107, 72%, 28%)
HSVhsv(107, 84%, 49%)
CMYKcmyk(65.6%, 0%, 84%, 51%)
CIE-LABlab(45.95, -43.81, 45.37)
CIE-LCHlch(45.95, 63.07, 134.00°)
OKLaboklab(51.96% -0.1202 0.1005)
OKLCHoklch(51.96% 0.157 140.1)
XYZxyz(8.4557, 15.2305, 3.1559)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D14 #66147D
analogous
#5F7D14 #2B7D14 #147D31
triadic
#2B7D14 #142B7D #7D142B
tetradic
#2B7D14 #145F7D #66147D #7D3114
square
#2B7D14 #145F7D #66147D #7D3114
split-complementary
#2B7D14 #31147D #7D145F
monochromatic
#091A04 #19480C #2B7D14 #3DB21C #54DE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7D14#FFFFFF#000000##FFFFFF
##2B7D141.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)
#776A21
Tritanopia (blue-blind)
#1F796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d14;
/* rgb */ color: rgb(43, 125, 20);
/* oklch */ color: oklch(52.0% 0.157 140.1);
Tailwind
colors: {
  custom: {
    50: '#70a35c',
    500: '#2b7d14',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d14;
$custom-light: #70a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d14",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 106.857,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51964,
    "c": 0.1567,
    "h": 140.1
  },
  "luminance": 0.15231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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