#2B7111#2B7111

#2B7111 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.144 H 139.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2B7111
RGBrgb(43, 113, 17)
HSLhsl(104, 74%, 25%)
HSVhsv(104, 85%, 44%)
CMYKcmyk(61.9%, 0%, 85%, 55.7%)
CIE-LABlab(41.79, -39.48, 42.43)
CIE-LCHlch(41.79, 57.96, 132.94°)
OKLaboklab(48.52% -0.1088 0.0939)
OKLCHoklch(48.52% 0.144 139.2)
XYZxyz(7.0023, 12.3637, 2.5476)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7111 #571171
analogous
#5B7111 #2B7111 #117127
triadic
#2B7111 #112B71 #71112B
tetradic
#2B7111 #115B71 #571171 #712711
square
#2B7111 #115B71 #571171 #712711
split-complementary
#2B7111 #271171 #71115B
monochromatic
#0A1B04 #173C09 #2B7111 #3FA619 #53DB21

Accessibility & contrast

On white

6.05
#2B7111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2B7111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7111
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7111#FFFFFF#000000##FFFFFF
##2B71111.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6C601D
Tritanopia (blue-blind)
#236D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b7111;
/* rgb */ color: rgb(43, 113, 17);
/* oklch */ color: oklch(48.5% 0.144 139.2);
Tailwind
colors: {
  custom: {
    50: '#6e9a59',
    500: '#2b7111',
    950: '#000000',
  },
}
SCSS
$custom: #2b7111;
$custom-light: #6e9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7111",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 103.75,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48517,
    "c": 0.14367,
    "h": 139.2
  },
  "luminance": 0.12364
}

Semantic roles & 50–950 ramp

primary
#2B7111
secondary
#8936A8
accent
#37F1BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7111

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

Preview Lab → · Contrast checker → · Palette generator →

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