#2B731E#2B731E

#2B731E is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.139 H 140.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2B731E
RGBrgb(43, 115, 30)
HSLhsl(111, 59%, 28%)
HSVhsv(111, 74%, 45%)
CMYKcmyk(62.6%, 0%, 73.9%, 54.9%)
CIE-LABlab(42.56, -39.30, 38.47)
CIE-LCHlch(42.56, 54.99, 135.62°)
OKLaboklab(49.18% -0.1075 0.0875)
OKLCHoklch(49.18% 0.139 140.9)
XYZxyz(7.3610, 12.8681, 3.3239)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B731E #661E73
analogous
#55731E #2B731E #1E733B
triadic
#2B731E #1E2B73 #731E2B
tetradic
#2B731E #1E5573 #661E73 #733B1E
square
#2B731E #1E5573 #661E73 #733B1E
split-complementary
#2B731E #3B1E73 #731E55
monochromatic
#091806 #194211 #2B731E #3DA42B #54CD3F

Accessibility & contrast

On white

5.88
#2B731E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2B731E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B731E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B731E#FFFFFF#000000##FFFFFF
##2B731E1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766810
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#216F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b731e;
/* rgb */ color: rgb(43, 115, 30);
/* oklch */ color: oklch(49.2% 0.139 140.9);
Tailwind
colors: {
  custom: {
    50: '#6e9c5f',
    500: '#2b731e',
    950: '#000000',
  },
}
SCSS
$custom: #2b731e;
$custom-light: #6e9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b731e",
  "rgb": {
    "r": 43,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 110.824,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49184,
    "c": 0.13865,
    "h": 140.9
  },
  "luminance": 0.12869
}

Semantic roles & 50–950 ramp

primary
#2B731E
secondary
#9846A7
accent
#46E2CA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B731E

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

Preview Lab → · Contrast checker → · Palette generator →

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