#2B7D1E#2B7D1E

#2B7D1E is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.151 H 141.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2B7D1E
RGBrgb(43, 125, 30)
HSLhsl(112, 61%, 30%)
HSVhsv(112, 76%, 49%)
CMYKcmyk(65.6%, 0%, 76%, 51%)
CIE-LABlab(46.01, -43.12, 41.98)
CIE-LCHlch(46.01, 60.18, 135.76°)
OKLaboklab(52.03% -0.1178 0.0949)
OKLCHoklch(52.03% 0.151 141.2)
XYZxyz(8.5638, 15.2737, 3.7249)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D1E #701E7D
analogous
#5B7D1E #2B7D1E #1E7D40
triadic
#2B7D1E #1E2B7D #7D1E2B
tetradic
#2B7D1E #1E5B7D #701E7D #7D401E
square
#2B7D1E #1E5B7D #701E7D #7D401E
split-complementary
#2B7D1E #401E7D #7D1E5B
monochromatic
#091A06 #1A4C12 #2B7D1E #3CAE2A #57D243

Accessibility & contrast

On white

5.18
#2B7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2B7D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D1E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D1E#FFFFFF#000000##FFFFFF
##2B7D1E1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#1D796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d1e;
/* rgb */ color: rgb(43, 125, 30);
/* oklch */ color: oklch(52.0% 0.151 141.2);
Tailwind
colors: {
  custom: {
    50: '#70a361',
    500: '#2b7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d1e;
$custom-light: #70a361;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d1e",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 111.789,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52032,
    "c": 0.15128,
    "h": 141.2
  },
  "luminance": 0.15275
}

Semantic roles & 50–950 ramp

primary
#2B7D1E
secondary
#A246B0
accent
#43E4CE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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