#2B712F#2B712F

#2B712F is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.8% C 0.122 H 144.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2B712F
RGBrgb(43, 113, 47)
HSLhsl(123, 45%, 31%)
HSVhsv(123, 62%, 44%)
CMYKcmyk(61.9%, 0%, 58.4%, 55.7%)
CIE-LABlab(42.04, -36.55, 29.84)
CIE-LCHlch(42.04, 47.18, 140.78°)
OKLaboklab(48.81% -0.0991 0.071)
OKLCHoklch(48.81% 0.122 144.4)
XYZxyz(7.4140, 12.5284, 4.7163)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B712F #712B6D
analogous
#4A712B #2B712F #2B7152
triadic
#2B712F #2F2B71 #712F2B
tetradic
#2B712F #2B4A71 #712B6D #71522B
square
#2B712F #2B4A71 #712B6D #71522B
split-complementary
#2B712F #522B71 #712B4A
monochromatic
#09180A #1A451D #2B712F #3C9D41 #57BF5D

Accessibility & contrast

On white

5.99
#2B712F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2B712F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B712F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B712F#FFFFFF#000000##FFFFFF
##2B712F1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736729
Deuteranopia (green-blind)
#6A6134
Tritanopia (blue-blind)
#1D6E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b712f;
/* rgb */ color: rgb(43, 113, 47);
/* oklch */ color: oklch(48.8% 0.122 144.4);
Tailwind
colors: {
  custom: {
    50: '#6c9a69',
    500: '#2b712f',
    950: '#000000',
  },
}
SCSS
$custom: #2b712f;
$custom-light: #6c9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b712f",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 123.429,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4881,
    "c": 0.12194,
    "h": 144.4
  },
  "luminance": 0.12529
}

Semantic roles & 50–950 ramp

primary
#2B712F
secondary
#A3559E
accent
#53CDD5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2B712F

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

Preview Lab → · Contrast checker → · Palette generator →

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