#2B6D1F#2B6D1F

#2B6D1F is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.5% C 0.130 H 140.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2B6D1F
RGBrgb(43, 109, 31)
HSLhsl(111, 56%, 27%)
HSVhsv(111, 72%, 43%)
CMYKcmyk(60.6%, 0%, 71.6%, 57.3%)
CIE-LABlab(40.49, -36.83, 35.86)
CIE-LCHlch(40.49, 51.40, 135.76°)
OKLaboklab(47.48% -0.1008 0.0822)
OKLCHoklch(47.48% 0.13 140.8)
XYZxyz(6.7119, 11.5492, 3.1716)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6D1F #611F6D
analogous
#526D1F #2B6D1F #1F6D3A
triadic
#2B6D1F #1F2B6D #6D1F2B
tetradic
#2B6D1F #1F526D #611F6D #6D3A1F
square
#2B6D1F #1F526D #611F6D #6D3A1F
split-complementary
#2B6D1F #3A1F6D #6D1F52
monochromatic
#091807 #183D11 #2B6D1F #3E9D2D #53C83E

Accessibility & contrast

On white

6.34
#2B6D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2B6D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6D1F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6D1F#FFFFFF#000000##FFFFFF
##2B6D1F1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706314
Deuteranopia (green-blind)
#685D26
Tritanopia (blue-blind)
#22695D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b6d1f;
/* rgb */ color: rgb(43, 109, 31);
/* oklch */ color: oklch(47.5% 0.130 140.8);
Tailwind
colors: {
  custom: {
    50: '#6d975f',
    500: '#2b6d1f',
    950: '#000000',
  },
}
SCSS
$custom: #2b6d1f;
$custom-light: #6d975f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6d1f",
  "rgb": {
    "r": 43,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 110.769,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.47475,
    "c": 0.13003,
    "h": 140.8
  },
  "luminance": 0.1155
}

Semantic roles & 50–950 ramp

primary
#2B6D1F
secondary
#9347A1
accent
#49DFC8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2B6D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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