#2B6E1B#2B6E1B

#2B6E1B is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.134 H 140.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2B6E1B
RGBrgb(43, 110, 27)
HSLhsl(108, 61%, 27%)
HSVhsv(108, 75%, 43%)
CMYKcmyk(60.9%, 0%, 75.5%, 56.9%)
CIE-LABlab(40.81, -37.60, 37.89)
CIE-LCHlch(40.81, 53.38, 134.77°)
OKLaboklab(47.73% -0.1031 0.0859)
OKLCHoklch(47.73% 0.134 140.2)
XYZxyz(6.7697, 11.7440, 2.9468)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6E1B #5E1B6E
analogous
#556E1B #2B6E1B #1B6E35
triadic
#2B6E1B #1B2B6E #6E1B2B
tetradic
#2B6E1B #1B556E #5E1B6E #6E351B
square
#2B6E1B #1B556E #5E1B6E #6E351B
split-complementary
#2B6E1B #351B6E #6E1B55
monochromatic
#0A1906 #183D0F #2B6E1B #3E9F27 #53CE36

Accessibility & contrast

On white

6.27
#2B6E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2B6E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6E1B
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6E1B#FFFFFF#000000##FFFFFF
##2B6E1B1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640D
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#236A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b6e1b;
/* rgb */ color: rgb(43, 110, 27);
/* oklch */ color: oklch(47.7% 0.134 140.2);
Tailwind
colors: {
  custom: {
    50: '#6d985d',
    500: '#2b6e1b',
    950: '#000000',
  },
}
SCSS
$custom: #2b6e1b;
$custom-light: #6d985d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6e1b",
  "rgb": {
    "r": 43,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 108.434,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47725,
    "c": 0.1342,
    "h": 140.2
  },
  "luminance": 0.11745
}

Semantic roles & 50–950 ramp

primary
#2B6E1B
secondary
#9042A3
accent
#44E4C5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2B6E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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