#2B7A19#2B7A19

#2B7A19 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.151 H 140.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2B7A19
RGBrgb(43, 122, 25)
HSLhsl(109, 66%, 29%)
HSVhsv(109, 80%, 48%)
CMYKcmyk(64.8%, 0%, 79.5%, 52.2%)
CIE-LABlab(44.94, -42.38, 42.78)
CIE-LCHlch(44.94, 60.22, 134.73°)
OKLaboklab(51.14% -0.1161 0.0958)
OKLCHoklch(51.14% 0.151 140.5)
XYZxyz(8.1309, 14.5021, 3.2902)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7A19 #68197A
analogous
#5C7A19 #2B7A19 #197A38
triadic
#2B7A19 #192B7A #7A192B
tetradic
#2B7A19 #195C7A #68197A #7A3819
square
#2B7A19 #195C7A #68197A #7A3819
split-complementary
#2B7A19 #38197A #7A195C
monochromatic
#091905 #19470F #2B7A19 #3DAD23 #55D637

Accessibility & contrast

On white

5.38
#2B7A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2B7A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7A19
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7A19#FFFFFF#000000##FFFFFF
##2B7A191.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#1F7668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7a19;
/* rgb */ color: rgb(43, 122, 25);
/* oklch */ color: oklch(51.1% 0.151 140.5);
Tailwind
colors: {
  custom: {
    50: '#70a15e',
    500: '#2b7a19',
    950: '#000000',
  },
}
SCSS
$custom: #2b7a19;
$custom-light: #70a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7a19",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 108.866,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51142,
    "c": 0.15055,
    "h": 140.5
  },
  "luminance": 0.14503
}

Semantic roles & 50–950 ramp

primary
#2B7A19
secondary
#9A40AF
accent
#3FE9C9
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7A19

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

Preview Lab → · Contrast checker → · Palette generator →

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