#2B712C#2B712C

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

Color values

HEX#2B712C
RGBrgb(43, 113, 44)
HSLhsl(121, 45%, 31%)
HSVhsv(121, 62%, 44%)
CMYKcmyk(61.9%, 0%, 61.1%, 55.7%)
CIE-LABlab(42.01, -36.96, 31.34)
CIE-LCHlch(42.01, 48.46, 139.71°)
OKLaboklab(48.77% -0.1004 0.074)
OKLCHoklch(48.77% 0.125 143.6)
XYZxyz(7.3556, 12.5050, 4.4085)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B712C #712B70
analogous
#4D712B #2B712C #2B714F
triadic
#2B712C #2C2B71 #712C2B
tetradic
#2B712C #2B4D71 #712B70 #714F2B
square
#2B712C #2B4D71 #712B70 #714F2B
split-complementary
#2B712C #4F2B71 #712B4D
monochromatic
#091809 #1A451B #2B712C #3C9D3D #57BF59

Accessibility & contrast

On white

6.00
#2B712C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2B712C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B712C
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B712C#FFFFFF#000000##FFFFFF
##2B712C1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736725
Deuteranopia (green-blind)
#6A6131
Tritanopia (blue-blind)
#1E6E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b712c;
/* rgb */ color: rgb(43, 113, 44);
/* oklch */ color: oklch(48.8% 0.125 143.6);
Tailwind
colors: {
  custom: {
    50: '#6d9a67',
    500: '#2b712c',
    950: '#000000',
  },
}
SCSS
$custom: #2b712c;
$custom-light: #6d9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b712c",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 44
  },
  "hsl": {
    "h": 120.857,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48769,
    "c": 0.12471,
    "h": 143.6
  },
  "luminance": 0.12506
}

Semantic roles & 50–950 ramp

primary
#2B712C
secondary
#A355A2
accent
#53D3D5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2B712C

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

Preview Lab → · Contrast checker → · Palette generator →

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