#2B711F#2B711F

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

Color values

HEX#2B711F
RGBrgb(43, 113, 31)
HSLhsl(111, 57%, 28%)
HSVhsv(111, 73%, 44%)
CMYKcmyk(61.9%, 0%, 72.6%, 55.7%)
CIE-LABlab(41.88, -38.43, 37.33)
CIE-LCHlch(41.88, 53.57, 135.83°)
OKLaboklab(48.62% -0.1051 0.0853)
OKLCHoklch(48.62% 0.135 140.9)
XYZxyz(7.1484, 12.4221, 3.3171)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B711F #651F71
analogous
#54711F #2B711F #1F713C
triadic
#2B711F #1F2B71 #711F2B
tetradic
#2B711F #1F5471 #651F71 #713C1F
square
#2B711F #1F5471 #651F71 #713C1F
split-complementary
#2B711F #3C1F71 #711F54
monochromatic
#091807 #194112 #2B711F #3DA12C #54CB40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B711F#FFFFFF#000000##FFFFFF
##2B711F1.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)
#746613
Deuteranopia (green-blind)
#6B6127
Tritanopia (blue-blind)
#216D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b711f;
/* rgb */ color: rgb(43, 113, 31);
/* oklch */ color: oklch(48.6% 0.135 140.9);
Tailwind
colors: {
  custom: {
    50: '#6d9a60',
    500: '#2b711f',
    950: '#000000',
  },
}
SCSS
$custom: #2b711f;
$custom-light: #6d9a60;
$custom-dark: #000000;
JSON
{
  "hex": "#2b711f",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 111.22,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48621,
    "c": 0.13533,
    "h": 140.9
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#2B711F
secondary
#9747A5
accent
#48E0CA
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B711F

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

Preview Lab → · Contrast checker → · Palette generator →

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