#2B6F1B#2B6F1B

#2B6F1B is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.136 H 140.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2B6F1B
RGBrgb(43, 111, 27)
HSLhsl(109, 61%, 27%)
HSVhsv(109, 76%, 44%)
CMYKcmyk(61.3%, 0%, 75.7%, 56.5%)
CIE-LABlab(41.15, -37.99, 38.25)
CIE-LCHlch(41.15, 53.91, 134.81°)
OKLaboklab(48.01% -0.1042 0.0866)
OKLCHoklch(48.01% 0.136 140.3)
XYZxyz(6.8782, 11.9610, 2.9829)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6F1B #5F1B6F
analogous
#556F1B #2B6F1B #1B6F35
triadic
#2B6F1B #1B2B6F #6F1B2B
tetradic
#2B6F1B #1B556F #5F1B6F #6F351B
square
#2B6F1B #1B556F #5F1B6F #6F351B
split-complementary
#2B6F1B #351B6F #6F1B55
monochromatic
#0A1906 #183E0F #2B6F1B #3EA027 #53CE36

Accessibility & contrast

On white

6.19
#2B6F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2B6F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6F1B
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6F1B#FFFFFF#000000##FFFFFF
##2B6F1B1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72650C
Deuteranopia (green-blind)
#6A5F23
Tritanopia (blue-blind)
#226B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b6f1b;
/* rgb */ color: rgb(43, 111, 27);
/* oklch */ color: oklch(48.0% 0.136 140.3);
Tailwind
colors: {
  custom: {
    50: '#6d995d',
    500: '#2b6f1b',
    950: '#000000',
  },
}
SCSS
$custom: #2b6f1b;
$custom-light: #6d995d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6f1b",
  "rgb": {
    "r": 43,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 108.571,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48012,
    "c": 0.1355,
    "h": 140.3
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#2B6F1B
secondary
#9142A4
accent
#44E4C5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2B6F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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