#2B6B15#2B6B15

#2B6B15 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.134 H 139.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2B6B15
RGBrgb(43, 107, 21)
HSLhsl(105, 67%, 25%)
HSVhsv(105, 80%, 42%)
CMYKcmyk(59.8%, 0%, 80.4%, 58%)
CIE-LABlab(39.72, -36.87, 39.13)
CIE-LCHlch(39.72, 53.77, 133.29°)
OKLaboklab(46.82% -0.1015 0.0876)
OKLCHoklch(46.82% 0.134 139.2)
XYZxyz(6.3891, 11.0826, 2.5118)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6B15 #55156B
analogous
#566B15 #2B6B15 #156B2A
triadic
#2B6B15 #152B6B #6B152B
tetradic
#2B6B15 #15566B #55156B #6B2A15
square
#2B6B15 #15566B #55156B #6B2A15
split-complementary
#2B6B15 #2A156B #6B1556
monochromatic
#0A1A05 #16380B #2B6B15 #409E1F #54D129

Accessibility & contrast

On white

6.53
#2B6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2B6B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6B15
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6B15#FFFFFF#000000##FFFFFF
##2B6B151.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6102
Deuteranopia (green-blind)
#665C1E
Tritanopia (blue-blind)
#24675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b6b15;
/* rgb */ color: rgb(43, 107, 21);
/* oklch */ color: oklch(46.8% 0.134 139.2);
Tailwind
colors: {
  custom: {
    50: '#6d965a',
    500: '#2b6b15',
    950: '#000000',
  },
}
SCSS
$custom: #2b6b15;
$custom-light: #6d965a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6b15",
  "rgb": {
    "r": 43,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 104.651,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46815,
    "c": 0.13408,
    "h": 139.2
  },
  "luminance": 0.11083
}

Semantic roles & 50–950 ramp

primary
#2B6B15
secondary
#873AA2
accent
#3EEABE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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