#2B731D#2B731D

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

Color values

HEX#2B731D
RGBrgb(43, 115, 29)
HSLhsl(110, 60%, 28%)
HSVhsv(110, 75%, 45%)
CMYKcmyk(62.6%, 0%, 74.8%, 54.9%)
CIE-LABlab(42.56, -39.39, 38.87)
CIE-LCHlch(42.56, 55.34, 135.38°)
OKLaboklab(49.18% -0.1078 0.0882)
OKLCHoklch(49.18% 0.139 140.7)
XYZxyz(7.3484, 12.8631, 3.2577)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B731D #651D73
analogous
#56731D #2B731D #1D733A
triadic
#2B731D #1D2B73 #731D2B
tetradic
#2B731D #1D5673 #651D73 #733A1D
square
#2B731D #1D5673 #651D73 #733A1D
split-complementary
#2B731D #3A1D73 #731D56
monochromatic
#091806 #194211 #2B731D #3DA429 #54CE3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B731D#FFFFFF#000000##FFFFFF
##2B731D1.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)
#76680F
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#216F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b731d;
/* rgb */ color: rgb(43, 115, 29);
/* oklch */ color: oklch(49.2% 0.139 140.7);
Tailwind
colors: {
  custom: {
    50: '#6e9c5f',
    500: '#2b731d',
    950: '#000000',
  },
}
SCSS
$custom: #2b731d;
$custom-light: #6e9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b731d",
  "rgb": {
    "r": 43,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 110.233,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49176,
    "c": 0.13932,
    "h": 140.7
  },
  "luminance": 0.12864
}

Semantic roles & 50–950 ramp

primary
#2B731D
secondary
#9745A7
accent
#45E3C9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B731D

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

Preview Lab → · Contrast checker → · Palette generator →

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