#2B7019#2B7019

#2B7019 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.138 H 140.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2B7019
RGBrgb(43, 112, 25)
HSLhsl(108, 64%, 27%)
HSVhsv(108, 78%, 44%)
CMYKcmyk(61.6%, 0%, 77.7%, 56.1%)
CIE-LABlab(41.49, -38.55, 39.38)
CIE-LCHlch(41.49, 55.11, 134.39°)
OKLaboklab(48.28% -0.1058 0.0887)
OKLCHoklch(48.28% 0.138 140)
XYZxyz(6.9656, 12.1715, 2.9018)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7019 #5E1970
analogous
#577019 #2B7019 #197033
triadic
#2B7019 #192B70 #70192B
tetradic
#2B7019 #195770 #5E1970 #703319
square
#2B7019 #195770 #5E1970 #703319
split-complementary
#2B7019 #331970 #701957
monochromatic
#0A1906 #183E0E #2B7019 #3EA224 #53D132

Accessibility & contrast

On white

6.11
#2B7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2B7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7019
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7019#FFFFFF#000000##FFFFFF
##2B70191.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736508
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#226C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b7019;
/* rgb */ color: rgb(43, 112, 25);
/* oklch */ color: oklch(48.3% 0.138 140.0);
Tailwind
colors: {
  custom: {
    50: '#6d9a5c',
    500: '#2b7019',
    950: '#000000',
  },
}
SCSS
$custom: #2b7019;
$custom-light: #6d9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7019",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 107.586,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48283,
    "c": 0.13807,
    "h": 140
  },
  "luminance": 0.12172
}

Semantic roles & 50–950 ramp

primary
#2B7019
secondary
#9040A5
accent
#41E7C4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2B7019

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

Preview Lab → · Contrast checker → · Palette generator →

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