#2B751F#2B751F

#2B751F is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.8% C 0.141 H 141.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2B751F
RGBrgb(43, 117, 31)
HSLhsl(112, 58%, 29%)
HSVhsv(112, 74%, 46%)
CMYKcmyk(63.2%, 0%, 73.5%, 54.1%)
CIE-LABlab(43.26, -39.99, 38.77)
CIE-LCHlch(43.26, 55.70, 135.89°)
OKLaboklab(49.76% -0.1093 0.0883)
OKLCHoklch(49.76% 0.141 141.1)
XYZxyz(7.6045, 13.3344, 3.4691)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B751F #691F75
analogous
#56751F #2B751F #1F753E
triadic
#2B751F #1F2B75 #751F2B
tetradic
#2B751F #1F5675 #691F75 #753E1F
square
#2B751F #1F5675 #691F75 #753E1F
split-complementary
#2B751F #3E1F75 #751F56
monochromatic
#091806 #194512 #2B751F #3DA52C #55CD42

Accessibility & contrast

On white

5.73
#2B751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2B751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B751F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B751F#FFFFFF#000000##FFFFFF
##2B751F1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A11
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#207164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2b751f;
/* rgb */ color: rgb(43, 117, 31);
/* oklch */ color: oklch(49.8% 0.141 141.1);
Tailwind
colors: {
  custom: {
    50: '#6e9d60',
    500: '#2b751f',
    950: '#000000',
  },
}
SCSS
$custom: #2b751f;
$custom-light: #6e9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#2b751f",
  "rgb": {
    "r": 43,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 111.628,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49764,
    "c": 0.14053,
    "h": 141.1
  },
  "luminance": 0.13335
}

Semantic roles & 50–950 ramp

primary
#2B751F
secondary
#9B47A9
accent
#46E1CC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B751F

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

Preview Lab → · Contrast checker → · Palette generator →

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