#2B661F#2B661F

#2B661F is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.5% C 0.120 H 140.5°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2B661F
RGBrgb(43, 102, 31)
HSLhsl(110, 53%, 26%)
HSVhsv(110, 70%, 40%)
CMYKcmyk(57.8%, 0%, 69.6%, 60%)
CIE-LABlab(38.05, -33.94, 33.24)
CIE-LCHlch(38.05, 47.50, 135.60°)
OKLaboklab(45.46% -0.0929 0.0767)
OKLCHoklch(45.46% 0.12 140.5)
XYZxyz(5.9947, 10.1148, 2.9325)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B661F #5A1F66
analogous
#4E661F #2B661F #1F6636
triadic
#2B661F #1F2B66 #661F2B
tetradic
#2B661F #1F4E66 #5A1F66 #66361F
square
#2B661F #1F4E66 #5A1F66 #66361F
split-complementary
#2B661F #361F66 #661F4E
monochromatic
#0A1707 #173711 #2B661F #3F952D #53C43C

Accessibility & contrast

On white

6.95
#2B661F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2B661F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B661F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B661F#FFFFFF#000000##FFFFFF
##2B661F1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D16
Deuteranopia (green-blind)
#615825
Tritanopia (blue-blind)
#246357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b661f;
/* rgb */ color: rgb(43, 102, 31);
/* oklch */ color: oklch(45.5% 0.120 140.5);
Tailwind
colors: {
  custom: {
    50: '#6b925e',
    500: '#2b661f',
    950: '#000000',
  },
}
SCSS
$custom: #2b661f;
$custom-light: #6b925e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b661f",
  "rgb": {
    "r": 43,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 109.859,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45461,
    "c": 0.12048,
    "h": 140.5
  },
  "luminance": 0.10115
}

Semantic roles & 50–950 ramp

primary
#2B661F
secondary
#8C469A
accent
#4BDDC4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2B661F

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

Preview Lab → · Contrast checker → · Palette generator →

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