#2B712E#2B712E

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

Color values

HEX#2B712E
RGBrgb(43, 113, 46)
HSLhsl(123, 45%, 31%)
HSVhsv(123, 62%, 44%)
CMYKcmyk(61.9%, 0%, 59.3%, 55.7%)
CIE-LABlab(42.03, -36.69, 30.34)
CIE-LCHlch(42.03, 47.61, 140.41°)
OKLaboklab(48.8% -0.0995 0.072)
OKLCHoklch(48.8% 0.123 144.1)
XYZxyz(7.3941, 12.5204, 4.6113)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B712E #712B6E
analogous
#4B712B #2B712E #2B7151
triadic
#2B712E #2E2B71 #712E2B
tetradic
#2B712E #2B4B71 #712B6E #71512B
square
#2B712E #2B4B71 #712B6E #71512B
split-complementary
#2B712E #512B71 #712B4B
monochromatic
#09180A #1A451C #2B712E #3C9D40 #57BF5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B712E#FFFFFF#000000##FFFFFF
##2B712E1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b712e;
/* rgb */ color: rgb(43, 113, 46);
/* oklch */ color: oklch(48.8% 0.123 144.1);
Tailwind
colors: {
  custom: {
    50: '#6d9a69',
    500: '#2b712e',
    950: '#000000',
  },
}
SCSS
$custom: #2b712e;
$custom-light: #6d9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b712e",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 46
  },
  "hsl": {
    "h": 122.571,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48796,
    "c": 0.12287,
    "h": 144.1
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#2B712E
secondary
#A3559F
accent
#53CFD5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2B712E

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

Preview Lab → · Contrast checker → · Palette generator →

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