#2B6A0F#2B6A0F

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

Color values

HEX#2B6A0F
RGBrgb(43, 106, 15)
HSLhsl(102, 75%, 24%)
HSVhsv(102, 86%, 42%)
CMYKcmyk(59.4%, 0%, 85.8%, 58.4%)
CIE-LABlab(39.34, -36.85, 40.78)
CIE-LCHlch(39.34, 54.96, 132.10°)
OKLaboklab(46.49% -0.1018 0.0901)
OKLCHoklch(46.49% 0.136 138.5)
XYZxyz(6.2363, 10.8556, 2.2186)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6A0F #4E0F6A
analogous
#586A0F #2B6A0F #0F6A20
triadic
#2B6A0F #0F2B6A #6A0F2B
tetradic
#2B6A0F #0F586A #4E0F6A #6A200F
square
#2B6A0F #0F586A #4E0F6A #6A200F
split-complementary
#2B6A0F #200F6A #6A0F58
monochromatic
#0B1B04 #153407 #2B6A0F #41A017 #56D51E

Accessibility & contrast

On white

6.62
#2B6A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2B6A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6A0F
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6A0F#FFFFFF#000000##FFFFFF
##2B6A0F1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#25665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b6a0f;
/* rgb */ color: rgb(43, 106, 15);
/* oklch */ color: oklch(46.5% 0.136 138.5);
Tailwind
colors: {
  custom: {
    50: '#6d9557',
    500: '#2b6a0f',
    950: '#000000',
  },
}
SCSS
$custom: #2b6a0f;
$custom-light: #6d9557;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6a0f",
  "rgb": {
    "r": 43,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 101.538,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46488,
    "c": 0.13596,
    "h": 138.5
  },
  "luminance": 0.10856
}

Semantic roles & 50–950 ramp

primary
#2B6A0F
secondary
#8032A2
accent
#36F2B8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2B6A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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