#2B7D19#2B7D19

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

Color values

HEX#2B7D19
RGBrgb(43, 125, 25)
HSLhsl(109, 67%, 29%)
HSVhsv(109, 80%, 49%)
CMYKcmyk(65.6%, 0%, 80%, 51%)
CIE-LABlab(45.98, -43.49, 43.78)
CIE-LCHlch(45.98, 61.71, 134.81°)
OKLaboklab(52% -0.1191 0.0979)
OKLCHoklch(52% 0.154 140.6)
XYZxyz(8.5049, 15.2502, 3.4149)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D19 #6B197D
analogous
#5D7D19 #2B7D19 #197D39
triadic
#2B7D19 #192B7D #7D192B
tetradic
#2B7D19 #195D7D #6B197D #7D3919
square
#2B7D19 #195D7D #6B197D #7D3919
split-complementary
#2B7D19 #39197D #7D195D
monochromatic
#091A05 #194A0F #2B7D19 #3DB023 #56D739

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7D19#FFFFFF#000000##FFFFFF
##2B7D191.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807101
Deuteranopia (green-blind)
#776A24
Tritanopia (blue-blind)
#1E796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d19;
/* rgb */ color: rgb(43, 125, 25);
/* oklch */ color: oklch(52.0% 0.154 140.6);
Tailwind
colors: {
  custom: {
    50: '#70a35e',
    500: '#2b7d19',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d19;
$custom-light: #70a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d19",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 109.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51995,
    "c": 0.1542,
    "h": 140.6
  },
  "luminance": 0.15251
}

Semantic roles & 50–950 ramp

primary
#2B7D19
secondary
#9D40B1
accent
#3EEACB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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