#2B7319#2B7319

#2B7319 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.142 H 140.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2B7319
RGBrgb(43, 115, 25)
HSLhsl(108, 64%, 27%)
HSVhsv(108, 78%, 45%)
CMYKcmyk(62.6%, 0%, 78.3%, 54.9%)
CIE-LABlab(42.53, -39.72, 40.41)
CIE-LCHlch(42.53, 56.66, 134.51°)
OKLaboklab(49.14% -0.109 0.0909)
OKLCHoklch(49.14% 0.142 140.2)
XYZxyz(7.3021, 12.8446, 3.0140)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7319 #611973
analogous
#587319 #2B7319 #197334
triadic
#2B7319 #192B73 #73192B
tetradic
#2B7319 #195873 #611973 #733419
square
#2B7319 #195873 #611973 #733419
split-complementary
#2B7319 #341973 #731958
monochromatic
#091905 #18410E #2B7319 #3EA524 #53D334

Accessibility & contrast

On white

5.88
#2B7319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2B7319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7319
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7319#FFFFFF#000000##FFFFFF
##2B73191.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766806
Deuteranopia (green-blind)
#6D6223
Tritanopia (blue-blind)
#216F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7319;
/* rgb */ color: rgb(43, 115, 25);
/* oklch */ color: oklch(49.1% 0.142 140.2);
Tailwind
colors: {
  custom: {
    50: '#6e9c5d',
    500: '#2b7319',
    950: '#000000',
  },
}
SCSS
$custom: #2b7319;
$custom-light: #6e9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7319",
  "rgb": {
    "r": 43,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 108,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49143,
    "c": 0.14187,
    "h": 140.2
  },
  "luminance": 0.12845
}

Semantic roles & 50–950 ramp

primary
#2B7319
secondary
#9340A8
accent
#41E7C6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7319

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

Preview Lab → · Contrast checker → · Palette generator →

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