#2B7819#2B7819

#2B7819 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.148 H 140.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2B7819
RGBrgb(43, 120, 25)
HSLhsl(109, 66%, 28%)
HSVhsv(109, 79%, 47%)
CMYKcmyk(64.2%, 0%, 79.2%, 52.9%)
CIE-LABlab(44.26, -41.63, 42.11)
CIE-LCHlch(44.26, 59.21, 134.67°)
OKLaboklab(50.57% -0.1141 0.0944)
OKLCHoklch(50.57% 0.148 140.4)
XYZxyz(7.8878, 14.0160, 3.2092)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7819 #661978
analogous
#5A7819 #2B7819 #197837
triadic
#2B7819 #192B78 #78192B
tetradic
#2B7819 #195A78 #661978 #783719
square
#2B7819 #195A78 #661978 #783719
split-complementary
#2B7819 #371978 #78195A
monochromatic
#091905 #19450E #2B7819 #3DAB24 #54D536

Accessibility & contrast

On white

5.52
#2B7819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2B7819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7819
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7819#FFFFFF#000000##FFFFFF
##2B78191.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C04
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#207466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2b7819;
/* rgb */ color: rgb(43, 120, 25);
/* oklch */ color: oklch(50.6% 0.148 140.4);
Tailwind
colors: {
  custom: {
    50: '#6fa05d',
    500: '#2b7819',
    950: '#000000',
  },
}
SCSS
$custom: #2b7819;
$custom-light: #6fa05d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7819",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 108.632,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50572,
    "c": 0.1481,
    "h": 140.4
  },
  "luminance": 0.14017
}

Semantic roles & 50–950 ramp

primary
#2B7819
secondary
#9840AD
accent
#3FE8C8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2B7819

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

Preview Lab → · Contrast checker → · Palette generator →

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