#2B741B#2B741B

#2B741B is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.142 H 140.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2B741B
RGBrgb(43, 116, 27)
HSLhsl(109, 62%, 28%)
HSVhsv(109, 77%, 45%)
CMYKcmyk(62.9%, 0%, 76.7%, 54.5%)
CIE-LABlab(42.89, -39.95, 40.00)
CIE-LCHlch(42.89, 56.54, 134.96°)
OKLaboklab(49.45% -0.1095 0.0903)
OKLCHoklch(49.45% 0.142 140.5)
XYZxyz(7.4391, 13.0828, 3.1699)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B741B #641B74
analogous
#58741B #2B741B #1B7437
triadic
#2B741B #1B2B74 #741B2B
tetradic
#2B741B #1B5874 #641B74 #74371B
square
#2B741B #1B5874 #641B74 #74371B
split-complementary
#2B741B #371B74 #741B58
monochromatic
#091906 #19420F #2B741B #3DA627 #54D139

Accessibility & contrast

On white

5.81
#2B741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B741B
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B741B#FFFFFF#000000##FFFFFF
##2B741B1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690A
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#217063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b741b;
/* rgb */ color: rgb(43, 116, 27);
/* oklch */ color: oklch(49.4% 0.142 140.5);
Tailwind
colors: {
  custom: {
    50: '#6e9d5e',
    500: '#2b741b',
    950: '#000000',
  },
}
SCSS
$custom: #2b741b;
$custom-light: #6e9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b741b",
  "rgb": {
    "r": 43,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 109.213,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49445,
    "c": 0.1419,
    "h": 140.5
  },
  "luminance": 0.13084
}

Semantic roles & 50–950 ramp

primary
#2B741B
secondary
#9642A9
accent
#42E5C8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B741B

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

Preview Lab → · Contrast checker → · Palette generator →

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