#2B7113#2B7113

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

Color values

HEX#2B7113
RGBrgb(43, 113, 19)
HSLhsl(105, 71%, 26%)
HSVhsv(105, 83%, 44%)
CMYKcmyk(61.9%, 0%, 83.2%, 55.7%)
CIE-LABlab(41.80, -39.36, 41.81)
CIE-LCHlch(41.80, 57.42, 133.27°)
OKLaboklab(48.53% -0.1083 0.0929)
OKLCHoklch(48.53% 0.143 139.4)
XYZxyz(7.0186, 12.3702, 2.6338)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7113 #591371
analogous
#5A7113 #2B7113 #13712A
triadic
#2B7113 #132B71 #71132B
tetradic
#2B7113 #135A71 #591371 #712A13
square
#2B7113 #135A71 #591371 #712A13
split-complementary
#2B7113 #2A1371 #71135A
monochromatic
#0A1A04 #173D0A #2B7113 #3FA51C #53DA25

Accessibility & contrast

On white

6.04
#2B7113 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B7113
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7113#FFFFFF#000000##FFFFFF
##2B71131.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b7113;
/* rgb */ color: rgb(43, 113, 19);
/* oklch */ color: oklch(48.5% 0.143 139.4);
Tailwind
colors: {
  custom: {
    50: '#6e9a5a',
    500: '#2b7113',
    950: '#000000',
  },
}
SCSS
$custom: #2b7113;
$custom-light: #6e9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7113",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 19
  },
  "hsl": {
    "h": 104.681,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48529,
    "c": 0.1427,
    "h": 139.4
  },
  "luminance": 0.12371
}

Semantic roles & 50–950 ramp

primary
#2B7113
secondary
#8B38A8
accent
#3AEEC0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7113

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

Preview Lab → · Contrast checker → · Palette generator →

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