#2B7011#2B7011

#2B7011 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.142 H 139.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#2B7011
RGBrgb(43, 112, 17)
HSLhsl(104, 74%, 25%)
HSVhsv(104, 85%, 44%)
CMYKcmyk(61.6%, 0%, 84.8%, 56.1%)
CIE-LABlab(41.44, -39.10, 42.11)
CIE-LCHlch(41.44, 57.46, 132.87°)
OKLaboklab(48.23% -0.1077 0.0932)
OKLCHoklch(48.23% 0.142 139.1)
XYZxyz(6.8913, 12.1418, 2.5106)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7011 #561170
analogous
#5A7011 #2B7011 #117027
triadic
#2B7011 #112B70 #70112B
tetradic
#2B7011 #115A70 #561170 #702711
square
#2B7011 #115A70 #561170 #702711
split-complementary
#2B7011 #271170 #70115A
monochromatic
#0A1B04 #173B09 #2B7011 #3FA519 #54DA21

Accessibility & contrast

On white

6.13
#2B7011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2B7011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7011
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7011#FFFFFF#000000##FFFFFF
##2B70111.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#236C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b7011;
/* rgb */ color: rgb(43, 112, 17);
/* oklch */ color: oklch(48.2% 0.142 139.1);
Tailwind
colors: {
  custom: {
    50: '#6e9a59',
    500: '#2b7011',
    950: '#000000',
  },
}
SCSS
$custom: #2b7011;
$custom-light: #6e9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7011",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 103.579,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4823,
    "c": 0.14244,
    "h": 139.1
  },
  "luminance": 0.12142
}

Semantic roles & 50–950 ramp

primary
#2B7011
secondary
#8835A7
accent
#37F0BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7011

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

Preview Lab → · Contrast checker → · Palette generator →

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