#2B741C#2B741C

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

Color values

HEX#2B741C
RGBrgb(43, 116, 28)
HSLhsl(110, 61%, 28%)
HSVhsv(110, 76%, 45%)
CMYKcmyk(62.9%, 0%, 75.9%, 54.5%)
CIE-LABlab(42.89, -39.87, 39.62)
CIE-LCHlch(42.89, 56.20, 135.18°)
OKLaboklab(49.45% -0.1092 0.0896)
OKLCHoklch(49.45% 0.141 140.6)
XYZxyz(7.4509, 13.0875, 3.2319)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B741C #651C74
analogous
#57741C #2B741C #1C7439
triadic
#2B741C #1C2B74 #741C2B
tetradic
#2B741C #1C5774 #651C74 #74391C
square
#2B741C #1C5774 #651C74 #74391C
split-complementary
#2B741C #391C74 #741C57
monochromatic
#091906 #194310 #2B741C #3DA528 #54D03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B741C#FFFFFF#000000##FFFFFF
##2B741C1.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)
#77690C
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#217063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b741c;
/* rgb */ color: rgb(43, 116, 28);
/* oklch */ color: oklch(49.5% 0.141 140.6);
Tailwind
colors: {
  custom: {
    50: '#6e9d5e',
    500: '#2b741c',
    950: '#000000',
  },
}
SCSS
$custom: #2b741c;
$custom-light: #6e9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b741c",
  "rgb": {
    "r": 43,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 109.773,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49453,
    "c": 0.14126,
    "h": 140.6
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#2B741C
secondary
#9743A8
accent
#44E4C9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B741C

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

Preview Lab → · Contrast checker → · Palette generator →

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