#2B6A15#2B6A15

#2B6A15 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.133 H 139.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2B6A15
RGBrgb(43, 106, 21)
HSLhsl(104, 67%, 25%)
HSVhsv(104, 80%, 42%)
CMYKcmyk(59.4%, 0%, 80.2%, 58.4%)
CIE-LABlab(39.37, -36.47, 38.79)
CIE-LCHlch(39.37, 53.24, 133.23°)
OKLaboklab(46.53% -0.1004 0.0869)
OKLCHoklch(46.53% 0.133 139.1)
XYZxyz(6.2854, 10.8753, 2.4772)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6A15 #54156A
analogous
#556A15 #2B6A15 #156A2A
triadic
#2B6A15 #152B6A #6A152B
tetradic
#2B6A15 #15556A #54156A #6A2A15
square
#2B6A15 #15556A #54156A #6A2A15
split-complementary
#2B6A15 #2A156A #6A1555
monochromatic
#0A1A05 #16370B #2B6A15 #409D1F #54D029

Accessibility & contrast

On white

6.61
#2B6A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2B6A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6A15
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6A15#FFFFFF#000000##FFFFFF
##2B6A151.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6003
Deuteranopia (green-blind)
#655B1E
Tritanopia (blue-blind)
#24665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b6a15;
/* rgb */ color: rgb(43, 106, 21);
/* oklch */ color: oklch(46.5% 0.133 139.1);
Tailwind
colors: {
  custom: {
    50: '#6c9559',
    500: '#2b6a15',
    950: '#000000',
  },
}
SCSS
$custom: #2b6a15;
$custom-light: #6c9559;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6a15",
  "rgb": {
    "r": 43,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 104.471,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46526,
    "c": 0.1328,
    "h": 139.1
  },
  "luminance": 0.10876
}

Semantic roles & 50–950 ramp

primary
#2B6A15
secondary
#863AA1
accent
#3EEABD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6A15

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

Preview Lab → · Contrast checker → · Palette generator →

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