#2B711B#2B711B

#2B711B is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.138 H 140.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2B711B
RGBrgb(43, 113, 27)
HSLhsl(109, 61%, 27%)
HSVhsv(109, 76%, 44%)
CMYKcmyk(61.9%, 0%, 76.1%, 55.7%)
CIE-LABlab(41.85, -38.78, 38.96)
CIE-LCHlch(41.85, 54.97, 134.87°)
OKLaboklab(48.59% -0.1063 0.0881)
OKLCHoklch(48.59% 0.138 140.3)
XYZxyz(7.0989, 12.4023, 3.0565)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B711B #611B71
analogous
#56711B #2B711B #1B7136
triadic
#2B711B #1B2B71 #711B2B
tetradic
#2B711B #1B5671 #611B71 #71361B
square
#2B711B #1B5671 #611B71 #71361B
split-complementary
#2B711B #361B71 #711B56
monochromatic
#091906 #18400F #2B711B #3EA227 #53CF37

Accessibility & contrast

On white

6.03
#2B711B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2B711B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B711B
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B711B#FFFFFF#000000##FFFFFF
##2B711B1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660B
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#226D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b711b;
/* rgb */ color: rgb(43, 113, 27);
/* oklch */ color: oklch(48.6% 0.138 140.3);
Tailwind
colors: {
  custom: {
    50: '#6e9a5d',
    500: '#2b711b',
    950: '#000000',
  },
}
SCSS
$custom: #2b711b;
$custom-light: #6e9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b711b",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 108.837,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48586,
    "c": 0.13808,
    "h": 140.3
  },
  "luminance": 0.12403
}

Semantic roles & 50–950 ramp

primary
#2B711B
secondary
#9342A6
accent
#43E5C7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2B711B

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

Preview Lab → · Contrast checker → · Palette generator →

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