#2B711C#2B711C

#2B711C is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.137 H 140.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2B711C
RGBrgb(43, 113, 28)
HSLhsl(109, 60%, 28%)
HSVhsv(109, 75%, 44%)
CMYKcmyk(61.9%, 0%, 75.2%, 55.7%)
CIE-LABlab(41.86, -38.70, 38.56)
CIE-LCHlch(41.86, 54.63, 135.10°)
OKLaboklab(48.6% -0.106 0.0874)
OKLCHoklch(48.6% 0.137 140.5)
XYZxyz(7.1107, 12.4070, 3.1185)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B711C #621C71
analogous
#55711C #2B711C #1C7138
triadic
#2B711C #1C2B71 #711C2B
tetradic
#2B711C #1C5571 #621C71 #71381C
square
#2B711C #1C5571 #621C71 #71381C
split-complementary
#2B711C #381C71 #711C55
monochromatic
#091906 #184010 #2B711C #3EA228 #54CE39

Accessibility & contrast

On white

6.03
#2B711C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2B711C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B711C
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B711C#FFFFFF#000000##FFFFFF
##2B711C1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660D
Deuteranopia (green-blind)
#6B6124
Tritanopia (blue-blind)
#216D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b711c;
/* rgb */ color: rgb(43, 113, 28);
/* oklch */ color: oklch(48.6% 0.137 140.5);
Tailwind
colors: {
  custom: {
    50: '#6d9a5e',
    500: '#2b711c',
    950: '#000000',
  },
}
SCSS
$custom: #2b711c;
$custom-light: #6d9a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b711c",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 28
  },
  "hsl": {
    "h": 109.412,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48595,
    "c": 0.13741,
    "h": 140.5
  },
  "luminance": 0.12408
}

Semantic roles & 50–950 ramp

primary
#2B711C
secondary
#9443A6
accent
#44E3C7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B711C

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

Preview Lab → · Contrast checker → · Palette generator →

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