#2B7919#2B7919

#2B7919 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.149 H 140.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2B7919
RGBrgb(43, 121, 25)
HSLhsl(109, 66%, 29%)
HSVhsv(109, 79%, 47%)
CMYKcmyk(64.5%, 0%, 79.3%, 52.5%)
CIE-LABlab(44.60, -42.01, 42.45)
CIE-LCHlch(44.60, 59.72, 134.70°)
OKLaboklab(50.86% -0.1151 0.0951)
OKLCHoklch(50.86% 0.149 140.4)
XYZxyz(8.0087, 14.2578, 3.2495)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7919 #671979
analogous
#5B7919 #2B7919 #197937
triadic
#2B7919 #192B79 #79192B
tetradic
#2B7919 #195B79 #671979 #793719
square
#2B7919 #195B79 #671979 #793719
split-complementary
#2B7919 #371979 #79195B
monochromatic
#091905 #19460F #2B7919 #3DAC23 #55D637

Accessibility & contrast

On white

5.45
#2B7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2B7919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7919
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7919#FFFFFF#000000##FFFFFF
##2B79191.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#1F7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2b7919;
/* rgb */ color: rgb(43, 121, 25);
/* oklch */ color: oklch(50.9% 0.149 140.4);
Tailwind
colors: {
  custom: {
    50: '#6fa05e',
    500: '#2b7919',
    950: '#000000',
  },
}
SCSS
$custom: #2b7919;
$custom-light: #6fa05e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7919",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 108.75,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50857,
    "c": 0.14932,
    "h": 140.4
  },
  "luminance": 0.14259
}

Semantic roles & 50–950 ramp

primary
#2B7919
secondary
#9940AE
accent
#3FE9C9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2B7919

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

Preview Lab → · Contrast checker → · Palette generator →

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