#2B741F#2B741F

#2B741F is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.139 H 141.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2B741F
RGBrgb(43, 116, 31)
HSLhsl(112, 58%, 29%)
HSVhsv(112, 73%, 45%)
CMYKcmyk(62.9%, 0%, 73.3%, 54.5%)
CIE-LABlab(42.92, -39.60, 38.41)
CIE-LCHlch(42.92, 55.17, 135.87°)
OKLaboklab(49.48% -0.1083 0.0876)
OKLCHoklch(49.48% 0.139 141)
XYZxyz(7.4886, 13.1026, 3.4305)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B741F #681F74
analogous
#56741F #2B741F #1F743E
triadic
#2B741F #1F2B74 #741F2B
tetradic
#2B741F #1F5674 #681F74 #743E1F
square
#2B741F #1F5674 #681F74 #743E1F
split-complementary
#2B741F #3E1F74 #741F56
monochromatic
#091806 #194412 #2B741F #3DA42C #55CC41

Accessibility & contrast

On white

5.80
#2B741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2B741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B741F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B741F#FFFFFF#000000##FFFFFF
##2B741F1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#207063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b741f;
/* rgb */ color: rgb(43, 116, 31);
/* oklch */ color: oklch(49.5% 0.139 141.0);
Tailwind
colors: {
  custom: {
    50: '#6e9d60',
    500: '#2b741f',
    950: '#000000',
  },
}
SCSS
$custom: #2b741f;
$custom-light: #6e9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#2b741f",
  "rgb": {
    "r": 43,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 111.529,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49479,
    "c": 0.13925,
    "h": 141
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#2B741F
secondary
#9A47A8
accent
#47E1CB
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B741F

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

Preview Lab → · Contrast checker → · Palette generator →

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